Part Number Hot Search : 
MAX823 KM611001 W25X32BV P800B 1002CT 2SC2261 25V5X CMZ5354B
Product Description
Full Text Search
 

To Download OV7740 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  datasheet preliminary specification 1/5" cmos vga (640 x 480) camerachip? sensor with omnipixel3-hs? technology OV7740 free datasheet http:///
free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies i 00 co p y right ?2008 omnivision t e chnologies, inc. all rights reser v ed. this doc u m ent is p r ovided ? a s is? with no w a rran t ies wha t soeve r , including any wa r r anty of me r c ha n t abilit y , non-inf r ingem e n t, fitness f o r any p a rticula r purp o se, or a n y w a r r anty other w i se a r ising out o f any p r opos a l , specification, or sample. om n i v i si o n t e chn o logies, inc. and all i t s a f filiates disclaim all l i abilit y , including li a b ility fo r infringement o f any pro p ri e t a r y righ t s, r e la t i ng to t h e use o f information in this document. n o license, e x p r essed or implied, by e s top p el or other w i se, t o any intellect u a l p r operty r i gh t s is g r anted h e rein. the info r m ati o n con t ain e d in t h is document is consid e r ed p r oprie t a r y to omni v i sion t e chnologies, inc. and all i t s a f filiat e s . this informa t ion may be dist r i bu t ed to individua l s or organizatio n s autho r id by omni v i sion t e chnologies, inc . to receiv e said information. individu a ls and/o r organizat i o n s a r e not all o wed to r e -dist r ib u t e said inform a t ion. t r a d em a r k i n for m a t ion o m ni v i si o n a nd t h e omni v i sion log o a r e regis t ere d t r a d emarks o f omn i v i sio n t e chn o logi e s , inc . o m nip i x e l3-hs , camerac h ip and v a r i opixe l a r e t r a demarks of om n i v i sio n t e ch n o log i es, i n c. a ll o t h e r tr a dema r ks used her e i n are t he pro p er t y o f th e respec t i ve o w ners. t o lea r n m o re abo u t om n i v i sio n t e chn o logi e s , v i si t ww w . o v t . c o m . o m ni v i si o n t e ch n o lo g i es is pu b licly t r ad e d o n n a sda q u nder t he sym b ol ovt i . c o l o r cmos vga ( 64 0 x 4 80 ) cam e rac h i p ? s e n s o r wit h om n i pix e l3-hs? tec h n o lo g y da t asheet ( c sp3 ) prelimina r y specific a t ion v e rsion 1 . 21 july 2008 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies i i i ordering information ? ov07 7 40-a32 a ( c ol o r , lea d -fre e ) 32 - pi n csp3 00 applications ? pc multimedia 00 features ? suppo r t for o u tput form a t s: r a w rgb a n d yuv ? suppo r t for image sizes: vg a , and q v ga, ci f and an y s i z e s m a l l e r ? suppo r t for b l ack sun cancellation ? suppo r t for inte r nal a nd external frame synchr o n ization ? s t anda r d sccb serial inte r f ace ? digi t a l video port ( dvp ) p a rallel output inte r f ace ? embed d ed one-time p r ogramma b l e ( o t p ) memo r y ? on - chip phase lock loop ( pll ) ? embed d ed 1.5v re g u lato r for co r e 00 k e y spe c i f i c ations ? a c tive array size: 656 x 488 ? p o w e r s u p p l y : co r e : 1.5vdc +/ - 5% ( i nt e r nal regulato r ) anal o g : 3.3v +/- 5% i/o: 1 . 7 ~ 3.47v ? power requiremen t s : active: tbd s t a n dby: t b d ? t e m p erat u r e r a n g e: operating: - 30c t o 70c ( s e e t a b l e 8 - 1 ) s t a b le image: 0 c to 50 c ( see t a b l e 8 - 1 ) ? o u t pu t f o rma t s ( 8 - b i t ) : 8 - /10- b i t r a w rgb da t a, 8- b i t yuv ? l e ns size: 1 / 5" ? l e ns c h ief ray a n gle: tbd ? i n p u t cl o ck fre q ue n cy: 6 ~ 27 m h z ? s/n r a tio: tbd ? d y na m i c ran g e: tbd ? m axim u m i m age t r ans f e r r a t e : vga ( 640x480 ) : 60 f p s fo r vga qvga ( 320x240 ) : 1 20 f p s for qvga ? se n sitivi t y : tbd ? s h ut t e r: t b d ? sca n m o de: prog r essive ? m axim u m ex p os u r e in t e r v al: 502 x t row ? g a mm a correcti o n : prog r ammable ? p i xel size: 4.2 m x 4.2 m ? well ca p acit y : tbd ? d a rk curren t : tbd ? fi x e d p a t t ern n o ise ( f pn ) : tbd ? i m age area : 2755.2 m x 2049.6 m ? p acka g e di m e nsi o ns: 4185 m x 4345 m free datasheet http:///
color cmo s vga ( 640 x 480 ) camerach i p ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies v 00 table of contents 1 s i gnal descri p t ion s 1-1 2 s y s t em le v e l description 2-1 2 .1 overview 2-1 2 .2 architectu r e 2-1 2.3 i/ o control 2-4 2 .4 format and frame r a te 2-5 2 .5 sccb interface 2-5 2 .6 power up sequence 2-5 2 .7 standby and sle e p 2-5 3 block level description 3-1 3 .1 pixel array structure 3-1 4 image sensor core di g i tal functions 4-1 4 .1 mir r or and flip 4-1 4 .2 test patt e rn 4-2 4 .3 a e c/agc algorithms 4-3 4.3 . 1 ov e r view 4-3 4.3 . 2 averag e - bas e d algorithm 4-3 4 .4 a e c/agc steps 4-6 4.4 . 1 auto exposure cont r o l ( a e c ) 4-7 4.4 . 2 auto gain control ( agc ) 4-8 4.5 blac k leve l cal i bration ( b lc ) 4-9 4 .6 dig gain / even odd 4-10 4 .7 one-time pro g rammable ( otp ) memory 4-10 5 image sensor processor di g i tal functions 5-1 5 .1 dsp_top 5-1 5 .2 dsp_pre 5-2 5 .3 agc ctrl 5-3 5 .4 lens co r r ection ( l e nc ) 5-4 5 .5 gamma ( gma ) 5-9 5 .6 auto white balance ( awb ) 5-11 5 .7 white black pixel cancellation ( wbc ) 5-12 5 .8 c o lor interpolation ( cip ) 5-14 5 .9 c o lor matrix ( cmx ) 5-15 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5. 1 0 win c 5-16 5. 1 1 scale_h 5-16 5. 1 2 yuv444to42 2 5-17 5. 1 3 special digit a l effec t s ( sd e ) 5 - 18 5. 1 4 scale_v 5-20 5. 1 5 vap 5-20 5. 1 6 16-zon e luminan c e average ( yavg ) 5-21 6 image sensor output int e r f ace dig i tal functions 6-1 6. 1 digital vi d eo p o rt ( dvp ) 6-1 6.1. 1 ov e r view 6-1 6.1. 2 href mode 6-1 6.1. 3 ccir6 5 6 mode 6-1 6.1. 4 dvp timing 6-2 7 register tables 7-1 8 electrical s p e c ification s 8-1 9 mechanical s p e c ification s 9-1 9. 1 physical specifications 9-1 9. 2 ir reflow specifications 9-3 10 o p tical s p ecifications 10-1 1 0 .1 s e nsor a r ray center 10-1 1 0 .2 l e ns chief ray angl e ( cra ) 10-2 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies v i i 00 list of figures figure 1 - 1 p in diagram 1-2 figure 2 - 1 o v 7 740 block diagram 2-2 figure 2 - 2 r ef e r ence d e sign schematic 2-3 figure 3 - 1 s ensor array region co l o r f i lte r l a yo u t 3 - 1 f i gure 4 - 1 m irror a n d f l ip samples 4-1 figure 4 - 2 t est pattern 4-2 figure 4 - 3 d esired conve r gence 4-4 figure 4 - 4 a verage-based window definition 4-5 fig u re 4 - 5 d ar k e r i l l u m i n a tio n s i t u at i o n b r i g hter i l l u mi n a t i o n s i tu a t io n 4 - 7 figure 6 - 1 ccir656 timing 6-1 figure 6 - 2 d vp timing dia g ram 6-2 figure 9 - 1 p acka g e specifica t ions 9-1 figure 9 - 2 i r r e flow ramp rat e requir e m ents 9-3 figure 1 0 -1 sensor array cente r 10-1 figure 1 0 -2 chief ray angle ( cra ) 10-2 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies ix 00 list of tables table 1-1 si g n al d e scripti o ns 1-1 table 2-1 driving ca p ability and direction c o nt r o l fo r i / o p ads 2 - 4 table 2-2 fo r m at and frame rate 2-5 table 4-1 mirror and f l ip fu n c tio n control 4 -1 table 4-2 test pattern selection cont r o l 4 -2 table 4-3 aec/agc algorithms 4 -3 table 4-4 yavg window r e gisters 4 -5 table 4-5 aec and bandin g filter register 4-8 table 4-6 blc contr o l functions 4 -9 table 4-7 digital gai n c o ntrol f u nct i o ns 4-10 table 4-8 otp r egisters 4-10 table 5-1 dsp top registe r s 5 -1 table 5-2 dsp top registe r s 5 -2 table 5-3 agc ctrl regist e r s 5 -3 table 5-4 l e nc registe r s 5-4 table 5-5 gma r e gisters 5-9 table 5-6 awb registers 5-11 table 5-7 wbc registers 5-12 table 5-8 cip r egisters 5-14 table 5-9 cmx re g i sters 5-15 table 5-10 winc re g i sters 5 -16 table 5-11 scale_h registers 5 -16 table 5-12 y u v4 4 4 to422 registers 5 -17 table 5-13 sde r e gisters 5 -18 table 5-14 scale_v registers 5 -20 table 5-15 vap registe r s 5 -20 table 5-16 y a vg r egisters 5 -21 table 6-1 dvp t i ming specifications 6-2 table 6-2 dvp control registers 6 -3 table 7-1 system con t rol r egisters 7 -1 table 8-1 absolute maximum r a tings 8 -1 table 8-2 dc cha r ac t e ristics ( -30c < ta < 70 c ) 8-2 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 table 8-3 ac characteristics ( ta = 25c, vdd-a = 3.3v, vdd-io = 1.8v ) 8 -3 table 8-4 timing characteristics 8 -3 table 9-1 packa g e dimensi o ns 9-1 table 9-2 r e f l o w c o n d it i o ns 9 - 3 table 10-1 cra versus image height plot 10-2 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 1-1 1 s ignal descriptions t a b l e 1 - 1 lis t s the signal desc r i p t i ons a nd their corr e spon d ing pi n numbe r s f o r the ov77 4 0 image senso r . the p a ckag e inform a t ion is sho w n i n secti o n 9 . table 1-1 signal d e scriptions ( sheet 1 of 2 ) p i n n u mber si g nal n a me p i n type descri p t i on defau l t i / o s t a t u s a1 a v dd power analog pow e r a2 n c ? no connect a3 vre f h r ef e r ence r ef e r ence vol t a g e a4 pwdn input powe r down input w i th p u ll-do w n resistor ( active h i gh ) a5 n c ? no connect a6 a v dd power analog pow e r b1 agnd gr o und analog gr o und b2 vre f n r ef e r ence ref e rence vol t a g e b3 n c ? no connect b4 n c ? no connect b5 r e se t _b input reset input with pull-up r e sis t or ( a ctiv e low ) b6 agnd gr o und analog gr o und c1 d o vdd power i/o power c2 s f in input fram e sync inp u t c3 h r ef output horizon t al sync output c4 sioc sccb sccb clock c5 siod sccb da t a s ccb da t a c6 d o vdd power i/o power d1 vsync i/o verti c al sync ou t put d2 d a t a 8 i/o dv po r t output d3 d a t a 3 i/o dv po r t output d4 d a t a 2 i/o dv po r t output ( l sb in 8 - bit mode ) d5 xvclk1 i nput i n put clock d6 d o gnd g r o und digi t a l g r ound e1 d a t a 9 i/o dv po r t output ( m s b ) free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 figur e 1-1 pin diag r a m e2 d a t a 1 i/o dv po r t output e3 d a t a 7 i/o dv po r t output e4 d a t a 6 i/o dv po r t output e5 d a t a 0 i/o dv po r t output ( l sb in 1 0 -bit mode ) e6 p c lk i/o pixel clock output f 1 n c ? no connect f 2 d a t a 5 i/o dv po r t output f 3 d g n d i/o gr o und f 4 d v dd i/o digi t a l core p o wer ( i n t ernal regulato r ) f 5 d a t a 4 i/o dv po r t output f 6 n c ? no connect table 1-1 si g n al descriptions ( sheet 2 of 2 ) p i n n u mber s i gnal n a me p i n type d e scri p t i o n defau l t i / o s t at u s a1 avdd a2 nc a3 vrefh a4 pwdn a5 nc a6 avdd b1 agnd b2 vrefn b5 reset _ b b6 agnd c1 dovdd c2 sfin c3 href c4 sioc c5 siod c6 dovdd d1 vsync d2 data8 d3 data3 d4 data2 d5 xvclk1 d6 dognd e1 data9 e2 data1 e3 data7 e4 data6 e5 data0 e6 pclk f2 data5 f3 dgnd f4 dvdd f5 data4 OV7740 top view 7740_ds_1_ 1 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 2-1 2 s ystem l e v e l description 2.1 o v ervi e w t he o v 7 740 ( color ) c a mera c h ip ? senso r is a high pe r for m ance vg a cmos image sensor th a t provi d es th e full functionality of a si n g le - c hip vga came r a usin g omnipixel3-hs ? tech n o logy in a small footp r int p a ckage. i t provid e s full-fram e , su b - sample d , windowed or sc a l ed 8-bit/10-bit images in various forma t s vi a the contr o l o f the se r i al came r a c o ntrol bus ( s ccb ) inte r f ac e . t he o v 7 740 has an image ar r a y ca p a ble o f operating at u p t o 60 f r ames p e r seco n d ( f p s ) in vga resolutio n with complete user contr o l over image q u alit y , formatting an d output da t a transfe r . all r equired image p r ocessing f u nctions including exposure cont r o l, g a mma, white balance , color sat u r a ti o n , hue control, defectiv e p i xel canceling, n o ise canceling, etc., a r e prog r ammable thro u gh the sccb int e r f ace. i n addition, omnivision camera c h ip sensors use p r oprie t a r y sensor technology to imp r ov e image q u ality by r educing o r eliminatin g common l i ghti n g/elect r ical sou r ces of image con t amination, such a s fix e d p a tte r n noise, smea r i ng, e t c., t o produce a cl e an, fully s t abl e , color image. f o r storag e purposes, the OV7740 als o incl u des o ne-time pro g rammable ( otp ) memor y . t he o v 7 740 s u ppor t s a digi t a l video p a r a llel port. 2.2 architecture the OV7740 sensor core generates strea m pix e l da t a at a co n s t a n t frame rate, ind i cated by y h ref and yvsync. the maximum pixel rat e is 60 frames/s e c ond , co r r esponding to a pixel clock rate of 48 mhz. fi g u r e 2 - 1 shows the functional block diag r am of the OV7740 image senso r . t he timing gen e rato r outpu t s signals t o access th e rows of t he image a r ra y , precha r ging a nd sam p ling the r o ws o f array in se r i e s . in the time between p r ec h a rging and s a mpling a ro w , the charg e in the pixels d e c r eas e s with the time e x posed to t h e incident light, a s known a s exposure time. t he expos u r e time is controlled by adj usting the time interval between p r echa r ging and sampli n g . a f ter t h e da t a of t h e pixels in the ro w has been s a mpled, it i s p r ocessed thro u gh a an a log ci r c uitry to co r r ect t he o f fset and multiply the da t a with cor r esponding gain. f o llo w ing analog p r oc e s si n g is the adc w h ich outpu t s a 10-bit da t a for each pixel in the a r ra y . free datasheet http:///
) color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 figur e 2-1 o v 7740 block diag r a m column sample/hold image sensor core o v7740 image sensor processor image output inter f ace ro w select black le v e l calibr ation digital gain pll control register bank sccb sla v e inter f ace timing gene r ator and system control logic dsp formatter image ar r ay gain control xv clk1 sfin p wdn vs ync href pclk sioc siod amp 10-bit a/d fifo d a t a[9:0] d v p 7740_ds_2_1 free datasheet http:///
confidential 07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 2-3 figure 2-2 refere n c e desig n s c he m a tic d a t a 6 d a t a 7 d a t a 0 pclk d a t a 5 dgnd d vdd d a t a 4 siod d o vdd sioc href sfin d o vdd a gnd reset_b a vdd a gnd vrefn nc p wdn vrefh nc a vdd da t a 2 da t a 3 xv clk1 da t a 1 da t a 8 vsinc dognd da t a 9 o v 7740 csp u1 c5 c4 c3 c2 c1 b6 b5 e4 e5 e3 e6 f2 f3 f4 f5 d6 d0 d7 pclk d5 dgnd d vdd d4 e1 d6 d5 e2 d2 d1 d4 d3 a2 a3 a4 a5 a6 b1 b2 a1 d9 dgnd d1 d8 vs ync d2 d3 c6 siod sioc href fsin a gnd reset fsin r1 0-0603 e x clk r8 10-k0603 a vdd c7 1 f-0603 c5 1 f-0603 c3 1 f-0603 c1 1 f-0603 r4 0-0603 d vdd c11 1 f-0603 c12 1 f-0603 c9 1 f-0603 c10 1 f-0603 c8 1 f-0603 d o vdd r2 100k -0603 d o vdd dgnd a gnd jp1 header1 v33 a vdd c7 10 f/6v l1 3.3 h-l1008 c2 10 f/6v c6 .1 f-0603 a vdd c14 10 f/6v l2 3.3 h-l1008 c13 .1 f-0603 av d d a gnd d o vdd c15 .1 f-0603 c16 .1 f-0603 c17 .1 f-0603 3 2 1 u2 x c62fp1802 gnd vin vo u t c18 10 f/6v l4 3.3 h-l1008 d vdd d vdd dgnd l3 3.3 h-l1008 note 1 c8, c9 should be close to sensor vrefh and a gnd c10 should be close to sensor vrefn and a gnd c4 should be close to sensor d v dd and dgnd c3, c1 should be close to sensor d o vdd and dgnd c11, c12 should be close to sensor a vdd and a gnd p wdn siod d8 d6 d4 d2 sioc gnd gnd x clk gnd d0 rs t nc d9 d7 d5 d3 j1 href vs ync pclk pw r per d1 con32a 2 4 6 8 10 14 16 18 12 20 22 24 28 30 32 26 ex clk nc nc nc gnd 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 nc nc nc gnd 7740_csp_ds_2_2 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 2.3 i/o control t he OV7740 i/o p ad direction and d r ivi n g ca p ability can be e a sily adjusted. t a b l e 2 - 1 lis t s the driving ca p a b i lity and direction control registers of the i/o pins. table 2-1 driving capability an d direction c o ntrol for i/o pads functi o n reg i ster d e scr i pt i o n ou t put d r ive c a p ability control 0 x0e[1:0] r_ p a d [ 1:0]: output d r iving ca p ability 00: 1x 01: 2x 10: 3x 1 1 : 4 x d a t a [9:0] io control 0 x54[7:5] input/output selection o f the p ad pins d a t a [9:0], 0x54[7] sel e ct d a t a [9:2], 0 x 54[ 6 : 5] select d a t a [1:0] 0: input 1: output vsync io contr o l 0 x54[1] input/output s e lect i on o f the p ad pin vsync 0: input 1: output pclk io contr o l 0 x54[0] input/output selection o f the p ad pin pclk 0: input 1: output h r ef io c o ntrol 0 x54[2] input/output selection o f the p ad pin h r ef 0: input 1: output free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 2-5 2.4 format and f r ame r a te t he o v 7 740 s u ppor t s the f o llowing output f o rma t s: yuv422, r a w r g b and i t u656. 2.5 sccb inter f ace t he serial camera c ontrol bus ( sccb ) int e rface c o ntrols t he came r a chip senso r operation. r e fer to t h e omni v i sio n t e chnol o g ies serial camer a contr o l bus ( sc c b ) s p e c i f ication for de t ailed u s age o f the serial cont r o l p o rt. 2.6 p o w e r up sequence powe r i n g up the OV7740 sensor does not r equire a speci a l po w er supply sequence. t he s e n s o r i n cludes an on - chip ini t ial powe r -up r e s e t feature . it will reset the w hole chip during p o wer up. 2.7 stand b y and sleep t w o suspend m o des a r e available for the ov7 7 40: ? hard w are s t and b y ? s ccb so f t wa r e sleep t o initiate ha r dwa r e s t a ndby mode, the pwdn pin must be t i ed to high. when t h is occu r s , t h e ov77 4 0 int e rnal device cl o c k is halted and a l l in t e rnal c o unters ar e reset and r egiste r s a r e mai n t a i n ed. exec u t ing a so f t ware p o wer - down th r ough the s c cb inte r f ace s u spen d s inter n al ci r c u i t a c tivity but does not halt the device clock. all r egister conte n t is main t a ined in s t a ndby mode. table 2-2 forma t and f r ame r a te format resolution f r a m e ra t e scaling method pixel clock ( yuv/r a w ) vga 64 0 x480 60 f p s f ull 48/24 mhz cif 35 2 x288 60 f p s s calin g down f r om vga 48/24 mhz qvga 32 0 x240 120 f p s s u b sam p ling from v g a 48/24 mhz qcif 17 6 x144 120 f p s scalin g down f r om q v g a 48/24 mhz free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 3-1 3 b lock l e v e l description 3.1 pi x e l ar r ay structure t he OV7740 sens o r has an ima g e a r ray o f 656 colum n s by 496 ro w s ( 32 5 ,376 p i xels ) . f i gure 3 -1 sho w s a c r oss-section of t h e imag e senso r arr a y . t he color filt e r s a r e ar r anged in a bayer p a tte r n . the p r ima r y col o r bg/gr ar r a y is a r rang e d in line - alte r nating fashion. of the 325,376 pixels, 3 20,128 ( 65 6 x488 ) ar e active pixels and can be output. t h e o t her pixels a r e used fo r black level calib r ation and i n terpolation. t he senso r ar r a y design is base d on a fi el d inte g r ation re a d -out system w i th li ne-by-li n e transfe r and an electronic shut t e r with a synch r onous pixel rea d -out scheme. figure 3-1 sens o r ar r a y region col o r filter la y o ut gr r gr r gr r gr r gr r gr r gr r gr r gr r gr r gr r gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r 0 1 2 3 4 5 650 651 652 653 654 655 7 8 ro ws columns 6 5 optical black acti v e pi x el b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r b gb gr r 11 12 10 9 2 3 1 0 4 493 b gb gr r b gb gr r b gb gr r b gb b gb b gb b gb gr r b gb gr r b gb gr r b gb b gb b gb b gb b gb b gb b gb b gb b gb 494 495 line -zero 7740_ds_3_1 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 4-1 4 i mage sensor core digital functions 4.1 mirror and flip t he o v 7 740 provides mir r or a n d flip r ead - out modes, whi c h r e spectively r e ve r s e t h e se n s o r da t a r ead-out orde r ho r izon t ally and ve r t ically ( see fi g u r e 4 - 1 ) . in mirror mo d e , si n c e the bayer order changes from bgb g ... to gbg b . .., th e r ead-out sequ e nce w i ll b e adj u s ted a u toma tically wh e n the mirro r functio n is on. in flip mode, the vre f s t arting line nee d s to b e adjusted, t h en the isp block will auto - detect whethe r the pixel is in red line o r blue li n e and make necessary adjustmen t s. figure 4-1 mirror and flip samples table 4-1 mirror and flip function c o ntrol functi o n reg i ster d e scri p t i o n mir r or 0c [6] m i rro r o n /o f f s e l e ct 0: mi r r o r o f f 1: mi r r o r on flip 0c [7] flip on/of f s e lect 0: flip off 1: flip on f original image f flipped image f mirrored image f mirrored and flipped image 2650 _ ds _ 4 _ 1 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 4.2 test pattern f o r testing pur p o ses, the OV7740 o f fe r s o n e typ e p f test p a tte r n : c o lo r ba r . t h ere a r e 4 modes of the color ba r ( see fi g u r e 4 - 2 ) . the mod e s of t h e color bar can be set with the r egis t e r 0x 8 4 [5:4] ( b a se a d dress: 0 x 38[3 : 0] = 4'h8 ) . in each mod e th e color bar can be moved f r om top to bottom if the ba r moving functio n is en a bled by set t ing sign a l ( 0x84[ 4 ]: b a se ad d ress: 0x38[3 : 0] = 4'h7 ) is 1. t he moving step can be conf igur e d by setting the r egiste r 0x84[3:0] ( b ase a d dress: 0x38[3:0 ] = 4 ' h8 ) ( see t a b l e 4 - 2 ) . figur e 4-2 test pattern table 4-2 test pattern selection con t rol a ddress reg i ste name d e fau l t value r/w d e scr i pt i o n 0x84 0x38[3:0 ] = 4 ' h7 pre c t rl00 0 x 0 0 r w bit[ 4 ]: bar _ m oving_en 0: colo r bar is a s t ill image 1: colo r bar is a moving image bit[ 1 ]: bar _ e n 0: output d a t a ar e normal d a t a 1: output d a t a ar e color b a r d a t a 0x84 0x38[3:0 ] = 4 ' h8 pre c t rl01 0 x 0 0 r w bit[ 7 :6]: reserved bit[ 5 :4]: bar _ s tyle output colo r bar style bit[ 3 :0]: bar _ s tep output colo r bar step mode 1 mode 2 mode 3 mode 4 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 4-3 4.3 aec/ a g c algorithms 4 .3.1 o v ervi e w t he auto exposu r e cont r o l ( aec ) a n d auto gain c ontrol ( agc ) allows the came r a chip sens o r to adjust the image b r ight n e ss to a d e sired r ange by settin g the pro p er expo s ure time and g a in ap p lied to the image. besides automatic contr o l, exposure time and gain can b e set ma n ually from exter n al cont r o l. t he related r egiste r s a r e listed in t a b l e 4 - 3 . t here a r e two di f f e r ent algorithms t o t e ll whethe r the cu r r ent f r ame is too b r ight o r too dark and dete r min e if the exposure time/gain shoul d increase o r decrease f o r t he next frame. one algo r ithm h i stog r a m , is based on the s t atistics of the pe r ce n t age of high/low lumi n ance pixels. t he othe r is based on the wei g hted-aver a ge of a f r ame. 4 .3.2 a v e r age-based algorithm t he average - based aec c o ntrols image luminance using r egiste r s wpt ( 0 x24 ) and bpt ( 0 x25 ) . in averag e -based mode , the val u e of r e gister w p t ( 0x24 ) indicates the high th r e s h old value and the valu e of re g i ster bpt ( 0 x25 ) indicates the low threshold value. wh e n the t a r get image luminanc e av e r age value y a v g ( 0x2f ) is within the r ange specified by r egiste r s wpt ( 0x24 ) a nd bpt ( 0x25 ) , t h e aec kee p s the im a ge exp o su r e . wh e n registe r y a v g ( 0 x2 f ) is gre a ter than the value in register wpt ( 0 x2 4 ) , the aec w i ll d e c r eas e the im a ge exposu r e. when r egister y a v g ( 0 x2 f ) is less t h an the valu e in r egiste r bpt ( 0x25 ) , the aec w i ll inc r eas e the image expo s u r e. acc o rdingl y , the value i n r e gister wpt ( 0x24 ) should be great e r th a n the value in registe r bpt ( 0 x25 ) . t he ga p betwe e n the values of regist e r s wpt ( 0 x24 ) and bpt ( 0 x25 ) controls the im a ge s t abilit y . t he aec functi o n sup p or t s both no r mal and fast s p eed s e lec t ions in o r der to b r i n g the image expos u r e into the r ange set by the values in regist e r s wpt ( 0 x24 ) and bpt ( 0x25 ) . aec set to normal mode will allow for sin g le - s te p increment o r decrement in the image exposure t o main t a in t h e sp e c ifie d range. a value of " 0 " i n regist e r f asten[ 7 ] ( 0x13 ) w i ll r e sult in normal speed ope r ation and a " 1 " will r e sult in fas t spee d operation. r e gister vpt ( 0x26 ) cont r o ls the fast aec r ange. if the t a rget image y a v g ( 0x2 f ) is g r eater t han vpt [7:4] 1 6 , a e c will decr e ase by 2. if registe r y a v g ( 0 x2f ) is less than vpt [3 : 0 ] 16, aec will inc r eas e by 2. table 4-3 a e c/ a g c algo r i thms functi o n r e gister description aec en a ble 0 x13[ 0 ] 0 : m a nual 1: a u t o aec ( e xp o s u r e tim e ) 0 x 1 0 0 x 0 f 0x10 = aec[ 7 :0] 0x0 f = a e c [ 15:8] laec ( l ess than 1 r o w exposu r e time ) 0 x 3 0 0 x 1 f 0x30 = laec [ 15:8] 0x1 f = laec[7:0] agc ( g ain ) 0 x 15[ 1 : 0] 0 x 0 0 a g c[9 : 8] a g c[7 : 0] agc enable 0 x13[ 2 ] 0 : m a nual 1: a u t o free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 as s h own in fi g u re 4-3 , the aec/agc c o nve r gence uses t w o regions, the inner s t able ope r ating region and t he outer cont r o l zone, w h ich defines the c onve r gence step size c h ange as follows: 4.3.2.1 ou t side control z o ne step size: 2 ( aec[15 : 0] ) t step : t row ( 2 aec[15: 0 ] ) 4.3.2.2 i nside contr o l zone step size: 2 ( aec[15 : 0] ) 16 ) t step : t row ( 2 aec[15: 0 ] 16 ) once the cur r ent value is inside the s t able ope r ating r egion, the aec/agc valu e has conver g ed. t he s t e p limit r e gister a c t s to creat e a "middl e ground " by limiting the m a ximum step size to 32 r o ws ( del a y time = t row 32 ) . figur e 4-3 desi r e d con v ergence cont r o l zone up p er limit: { vpt [7:4] ( 0x26[7 : 4] ) , 4'b0000} cont r o l zone lowe r limit: { vpt [3: 0 ] ( 0x26[3:0] ) , 4'b0 0 00} s t able ope r atin g region uppe r limit: w p t [ 7:0] ( 0x24 ) s t able ope r atin g region lower limit: b p t[7:0] ( 0x25 ) f o r the a v e r age-b a sed aec/agc algo r ithm, the meas u r ed wi n dow is ho r izon t a l ly and ve r t i c ally adjus t able and d i vid e d into sixt e en ( 4 x4 ) zones ( s ee fi g u re 4 - 4 ) . each zon e ( o r block ) is 1/16th of th e image an d has a 4-bit w e ig h t in calculating th e a v e r age lumina n ce ( y a v g ) . the 4 - bit w e ig h t could be n/ 1 6 where n is from 0 t o 15. the final y a v g is the weighted aver a ge of the sixteen zones. fo r more d e t a ils on adjusting ho r izon t al and vertical w i ndo w s an d wei g ht for each windo w , refer to secti o n 4 .3.2 . 3 , av e r age luminanc e ( y a v g ) . control zone stable ope r ating region desired con v ergence 7740_ds_4_3 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 4-5 4.3.2.3 a verage luminance ( y a v g ) auto exposur e time calculation is ba s ed o n a frame brightness average v a lue . by prop e rly setting ahs, a v s , ah w , and a v h a s s h own in fi g u re 4 - 4 , a 4x4 g r id aver a ge w i ndo w is defined. th e avera g e value is the weighted average of the 16 sections. t a b l e 4 - 4 lis t s the cor r esponding registers. the r e are two window mod e s: auto window mod e an d ma n ual window mod e . in au t o w i ndo w m o de, the ahs, a vs, ahw and a v h a r e defined by sizes o f output image. in th e manual wi n dow mode, t h e wi n dow p a r a meters a r e registers. t a b l e 4 - 4 lis t s the cor r esponding r egisters. in o r der to u s e these register p a ram e ters, the yavg_ w in_m a n must be set to 1. auto mod e only suppor t s n o n-scaling and non - su b s ampling im a ge. figure 4-4 a v e r age-based win d o w d e f i ni t i on table 4-4 y a v g wind o w registers ( sh e et 1 of 2 ) functi o n reg i ster d e scri p t i o n ahs ( horizo n t a l s t a r tin g pixel ) {0xe9[1:0] a nd 0x38[3:0]=4'h4, 0xe9 and 0x38[3:0]=4'h2} 0xe9[1:0] and 0x38[3: 0 ] = 4 'h4: yavg_winofh[9:8] 0xe9 and 0x38[3:0]=4'h2: yavg _ w in o f h[7:0] th e horizo n t a l o f fset of yavg window ( 0, 0 ) vts hts sense ar r ay size ( for v ga, hts = 656, vts = 488 ) valid pi x el size ( for v ga, h w = 640, vh = 480 ) a v e r age wind o w size x y vh ( hs, vs ) hw av h ( ahs, a vs ) ahw 1234 5678 91 0 1 1 1 2 13 14 15 16 7740_ds_4_4 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 4.4 aec/ a g c steps fi g u r e 4 - 5 shows how th e a e c and agc wo r k tog e ther to o b t a i n adequate exposure / gain b a sed o n the cur r ent environment's illumination. t he uppe r one illus t rates the non - banding ope r atio n which time unit is based on tline. t he lowe r one shows ex p o su r e i n banding. th e x - axis rep r esen t s th e lengt h of exposu r e in t i me scal e . in norm a l lig h t ci r c u m s t a n ces, the length o f exp o su r e will fall into a r ange fr o m 1 tline to 1 tf r a me. in extrem e l y bright o r dark ci r c u m s t a n ces, exposure time l e ss than 1 t l ine/t b and or g r ea t e r than 1 tf r a me may be req u i r ed acco r d ingl y . in or d e r to achiev e the best signal-to - noise r a tio ( snr ) , ext e ndin g the expos u r e time is a l ways p r efe r red, r a ther th a n raising the an a log g a in, w hen the cur r ent illumin a tion is getting brighte r . v i ce versa, und e r da r k conditio n s, th e action to d e c r ease th e gain is al w a ys t a ken p r io r to shortening the exposu r e time. a v s ( v e r tical s t arting pixel ) { 0 xe9[4] a nd 0x38[3:0]=4'h4, 0xe9 &0x38[3:0]=4' h 3} 0xe9[4] and 0x38[3: 0 ] = 4 'h4: yavg_winofv[ 8 ] 0xe9 and 0x38[3:0]=4'h3: yavg _ w in o f v[7: 0 ] t h e ve r t ical o f fset o f yavg window ahw ( a ve r age section w i d t h ) 0xe9 sub-add r ess 0x38[3:0]=4'h5 ho r izon t al size of cropping windo w . it w i ll b e multiplied by 8 to be r eal size. a v h ( a ve r age section h e ight ) 0xe9 sub-add r ess 0x38[3:0]=4'h6 vertical size of cro p ping win d o w . it will be multi p lied by 4 to be r eal siz e . aver a ge s e ction weighting 0 x56~0x 5 9 0x56[1:0]: s ection 1 w e ig h t 0x56[3:2]: s ection 2 w e ig h t 0x56[5:4]: s ection 3 w e ig h t 0x56[7:6]: s ection 4 w e ig h t 0x57[1:0]: s ection 5 w e ig h t 0x57[3:2]: s ection 6 w e ig h t 0x57[5:4]: s ection 7 w e ig h t 0x57[7:6]: s ection 8 w e ig h t 0x58[1:0]: s ection 9 w e ig h t 0x58[3:2]: s ection 10 wei g ht 0x58[5:4]: s ection 1 1 weight 0x58[7:6]: s ection 12 wei g ht 0x59[1:0]: s ection 13 wei g ht 0x59[3:2]: s ection 14 wei g ht 0x59[5:4]: s ection 15 wei g ht 0x59[7:6]: s ection 16 wei g ht table 4-4 y a v g wind o w registers ( she e t 2 of 2 ) functi o n reg i ster d e scr i pt i o n free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 4-7 figure 4-5 dar k er illumination situation b r ighter illumination situati o n 4 .4.1 auto e x po s u re c o ntrol ( aec ) t he functio n of the aec is t o calculate integ r ation tim e of the next fram e and send the inform a t ion t o the timing cont r o l block. based on t h e s t atistic s of p r evious frames, the aec is abl e to de t ermine w hether t h e inte g r ation time sh o u ld increase, decrease, fast inc r ease, fas t dec r ease, or r e mai n the same. in ext r emely bright situati o ns, t h e laec activates, allowing integr a t ion time t o b e less than one r o w . in extremely dark sit u ations, the v a e c activates, allowing int egration time to be lar g er than o ne frame. t o avoid image f l ickering un d er a pe r io d i c light source, th e i n teg r ation tim e step can b e adj u s ted a s an intege r multiple of t h e period of th e light source. t h is new aec step system is called banding, suggesting that the ste p s are n o t continuous but fall w i thin bands. 4.4.1.1 l aec if the integ r ation time is only one r o w but t h e imag e is too b r ight, a e c will enter laec m ode. within laec, th e in t egration time c a n be fur t her decre a s ed t o a minimum o f 1 / 16 row or so. laec on/off can b e set in 0x13[3]. 4.4.1.2 banding mode on w i th aec when banding mode is on, aec step , w h ich i s also called 'band', incremen t s by an inte g e r multiple of the period of light intensit y . t h is design is meant t o reject image flickering w h en ligh t source is n o t st e ady b u t periodical. fo r a given o perating f r equenc y , b and step c a n be expressed in t e rms of ro w timing. band s t ep = 'pe r iod of light intensity' 'frame rate' 'ro w s p e r fram e ' . the b and ste p s for 50 h z an d 60hz light sour ces ca n be s e t in r egiste r s 0x50~0x52. when aut o banding is o n , if the n e xt integ r ation time is less than t h e minimum band step, b andi n g will aut o m atically turn o f f . it will turn on ag a in w h en the next integra t i on time becomes l a rge r than the minimum band. if a u to banding is disa b l ed, t he minimum integr a t ion time is o ne mi n i mal band. auto b andi n g ca n be s e t in r egiste r 0x 1 3 [4]. aec ( r o ws ) 11 6 l1aec < 1 r o w aec 1,1 ( 1+1/16 ) , 1 ( 1+2/16 ) ... smoothed b y a g c sl o w: + r o w / + 1/16 step f ast: inc/dec: 2 x / 1 / 2 step ace aec ( banding ) 1 aec autobd 1: aec 0: stop @ 1 band 1,1 ( 1+1/16 ) , 1 ( 1+2/16 ) ... smoothed b y a g c sl o w: + band f ast: inc/dec: 2 x / 1 / 2 aecg ( full ) 1frame ( +1f ) 2frames ( +2f ) 3f ( +3f ) 4f ( +7f ) 8f ( full ) 1frame ( +1f ) 2frames ( +2f ) 3f ( +3f ) 4f ( +7f ) 8f a ce/ a gc a ce/ a gc aec full => agc on aec full => agc on af<2:0> selects max full ( 1f, 2f, 3f, 4f, 8f ) af<1:0> selects max full ( 1f, 2f, 4f, 8f ) aecg ( agc ) 7740_ds_4_5 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 4.4.1.3 banding mod e o f f with aec when bandin g is of f , integ r ation time incr e a ses/decreases b y 1/16 of the p r e v ious st e p in slow mode or becomes twice / half o f the previous step in fast mode. 4.4.1.4 v aec in extremely dark situations, the integ r ation time must be longe r than one f r ame. the OV7740 su p por t s long integration time such as 1 f r ame , 2 f r ames, 3 f r ames and 7 f r ames. this is achieved by slowing do w n original fram e r a te and w a iting for exposure. v aec ceiling can be se t in r e gister 0x15[6:4 ] . v a ec can be dis a bled b y setting register 0x15[7] t o 0. 4. 4 .2 auto gain control ( a gc ) u n like prolonging in t egration time, i n c r easing gain will amplify bo t h signal and noise or bet w een two g a p s o f banding exposure time. t hus, agc u s ually s t a r t s a f ter aec is ful l . how e ve r , in same cases wh e r e adjacent aec step c h anges a r e t oo larg e ( > 1 / 16 ) , ag c step sh o u ld be inse r t ed in betwee n ; oth e rwise, the integration t i m e will k e ep switc h ing fr o m t w o adj a c ent ste p s and t he ima g e flicke r s . table 4-5 a e c and ban d ing filter register functi o n reg i ster d e scr i pt i o n laec on/off 0x13 [3] laec on/of f select 0: off 1: on ba n ding on/o f f 0x13 [5] banding on/off 0: off 1: on v aec on/off ( add fr a m e ) 0x15[7] v aec on/of f select 0: off 1: on au t o banding 0x13[4] auto b a ndin g select 0: off 1: on v aec cei l ing ( m ax integ r ati o n time ) 0x15[6:4] v aec ce i ling 001: 1 f r ame 010: 2 f r ames 0 1 1: 3 f r ames 1xx: 7 f r ames ba n ding step 0x50~0x 5 2 0x52[7:6]=bd60st[9:8]; 0x51[ 7 : 0] = bd60st[7:0] 0x52[5:4]=bd50st[9:8]; 0x50[ 7 : 0] = bd50st[7:0] maximum banding step 0x21 bit[ 7 :4]: for 50 hz bit[ 3 :0]: for 60 hz free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 4-9 4.4.2.1 i ntegration time betw e en 1~16 ro w s when integration time is less tha n 16 ro w s , th e cha n ges b e tween adjacent aec ste p s are larg e r than 1 / 16, which may possibly make the im a ge o s cillate b e tween two aec levels; thus, som e agc st e p s a r e a d ded in betw e en. f o r example, f r om a e c = 2 r o ws to aec = 3 rows, ther e a r e 7 more agc st e p s ( 1 + x/16, x=1~7 ) i n se r t ed, which ensu r es every ste p cha n ge is less than 1 / 16. 4.4.2.2 gain i n se r t io n between aec b a ndin g ste p s in banding on mode, th e minimal inte g r ation time ch a nge is the p e riod of light intensity ( 10ms for 50 h z, 16 . 67ms for 60hz ) . fo r the fi r s t 16 b and ste p s, since the chan g e be t w een adjacent ste p s is large r tha n 1/16, ag c ste p s a r e inse r t ed to ensure image s t abilit y . 4.4.2.3 gain i n se r t io n between v aec ste p s between v aec ste p s ( e.g . , integr a t ion time = 1 frame and 2 f r ames ) , agc ste p s a r e inserte d to ensure no adj a c ent st e p ch a nge is large r than 1/1 6 ( 6.25 % ) . 4.5 black l e v e l calib r a tion ( blc ) t he pixel ar r a y con t ains six opti c all y shie l ded ( b la c k ) rows. t h e s e row s are used to p r ovide t he da t a fo r o f fset cancellation algorithms ( black level calibr a t ion ) . digi t a l imag e processing s t ar t s w i th b l ack level s u btracti o n. t he b l c algorithm estima t e s t h e o f f s et o f the black level f r om the d a t a pr o v ided by black ro w s . t hese o f fse t s of di f f erent color channels will be subtract ed f r om v a lues of the color pixels. if the subt r a ction p r oduces a negative r e s u lt fo r a p a r t icular pixel, the value o f this pixel is set to "0. " by de f aul t , blc w i ll b e triggere d when gain is changing. table 4-6 b l c co n t rol f u n c ti o n s functi o n reg i ster d e scri p t i o n t a r get 0x67[5:0] t a r get black level value that is used in th e algorithm blc _ b , blc_r 0 x0e[6:5] 00: use all 4 channel o f fse t s 01: use r/gr channel o f fset f o r all channels 10: use b/gb chan n el o f fset for a l l ch a nnels 1 1 : u se all 4 channel o f fse t s blc a l ways on 0x64[5] blc o f fse t s be adjuste d eve r y f r ame. mblc 0x69[3] trigge r blc manually fo r 64 fra m es gr o f fset 0x6e[7:6], 0x6a[7:0] blc o f fset for gr chan n el gb o f fs e t 0x6e[5:4], 0x6b[7:0] blc o f fset for gb channel r o f fset 0x6e[3:2], 0x6c[7:0] blc o f fset for r cha n nel b o f fset 0x6e[1:0], 0x6d[7:0] blc o f fset for b channel free datasheet http:///
confidential (for v imicro o n ly ) color cmos vga (640 x 480) camerachip? se nsor with omnipixel3-hs? technology OV7740 proprietary to omnivision technologies preliminary specification version 1.21 4.6 dig gain / even odd after black level subtraction, multiplication may apply to al l pixel values based on an optional digital gain. by default, the sensor will use analog gain up to its maximum before applying digital gain to the pixels. 4.7 one-time programmable (otp) memory the OV7740 has a one-time programmable (otp) memory to stor e chip identification and manufacturing information. this otp memory is organized as 128-bit by 1 one-time programmable electrical fu se with random access interface. the main function is to store chip ident ification and manufacturing information. the otp has three operation modes: program (pgm), read, and i nactive. normally, it is in inactive mode. by setting 0xef to 0xaa, it enters program mode, which will sequentia lly burn data into the otp macro. by setting 0xfe to 0x55, the otp enters read mode, which will load the otp data into registers. table 4-8 summarizes the corresponding registers. table 4-7 digital gain control functions function register description dgain 0x15[1:0] 00: 1x digital gain 01: 2x digital gain 10: 2x digital gain 11: 4x digital gain table 4-8 otp registers function register description otp program data 0xf0~0xff data to be programmed/read into/from otp memory otp program/read enable 0xef 0x55: read otp memory 0xaa: program otp memory free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-1 5 i mage sensor proce s sor digital functions 5.1 dsp_ t o p t he main purpose of t h e dsp_ t o p includes: ? i n t egrate all su b - modules ? c r eate necessa r y cont r o l signals table 5-1 dsp t o p registers a d dress r e gister name defau l t v a lue r / w description 0x80 dsp ctr l 00 1'b1 r w bit[0]: isp en a ble 0: d i sable isp 1: ena b le isp 0x83 dsp ctr l 03 1'b0 r w bit[5]: v i d eo s w itch 0: v i d eo s t art 1: v i d eo s t op 0x84 sub add r ess: 0x38[3:0]=4?h6 ro r e g a d dr 0x00 r bit[7:0]: r ead-only register add r ess according to i t s val u e, the isp sc c b outpu t s the value of di f f erent p a ramet e r . free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5.2 dsp_pre t he main purp o ses of the d s p _ p r e modul e incl u des: ? adjust h r e f , vali d , rblu e signals a n d da t a ? c reate color ba r ima g e ? dete r mine t h e sizes of input image b y r e moving r edundant d a t a ? c reate cont r o l si g nals table 5-2 dsp top registers a ddress register name defau l t value r / w d e scr i ption 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h7 pre ct r l00 0x00 r w bi t [ 7:5]: r eserved bi t [ 4]: ba r _moving_en 0: colo r ba r i s a s t i l l image 1: color b a r is a moving image bi t [ 3]: r eserved bi t [ 2]: r blue_ r vs 0: output r b lue signal is same t o the i n put 1: output r b lue signal will be the reve r s ed signal of the i n put bi t [ 1]: ba r _en 0: output da t a are n o rmal da t a 1: output da t a are color bar da t a bi t [ 0]: s ht_neg 0: latch da t a at r i sin g clock edge 1: latch da t a at falling clock edge 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h8 pre ct r l01 0x00 r w bi t [ 7:6]: r eserved bi t [ 5:4]: ba r _style output color ba r style bi t [ 3:0]: ba r _step output color ba r step free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-3 5.3 a g c c t rl t he main pu r poses of the agc_c t rl is to c r eate some p a r a mete r s used in oth e r modules, autom a t icall y , acco r d ing to agc gain. table 5-3 a g c c t rl re g i ste r s a d dress r e gister name defau l t v a lue r/w description 0x85 a g c o f fset 0x00 r w b i t[7:0]: o f fset for dsn_th a u to v a lue 0x86 a g c b ase1 0x1e r w b i t[7:5]: res e rved b i t[4:0]: base 1 for y_edge_mt a u to va l u e 0x87 a g c b ase2 0x02 r w b i t[7:5]: res e rved b i t[4:0]: base 2 for y_edge_mt a u to value. it plays i t s role with base 1 . it must be l e ss than base 1 . 0x88 a g c c t rl 0x00 r w b i t[7]: res e rved b i t[6]: gain _ sel_en 0: gain r a nge will be max. va l u e 1: gain r a nge will be the r e sult of gain_sel b i t[5:4]: gain _ sel decid e s the range of gain which is u s ed t o calculat e the dns th r e sh o l d. the gain r ange is the result of 2^ ( gain _ sel+3 ) . b i t[3:2]: dns_ t h_sel decid e s the gain w h ich is used to calculat e the dns threshold. new g a in is the result o f gain divi d i ng by 2^dns_th_sel. b i t[1:0]: edge_mt_ r ange decid e s the value which is used to calculat e the edge enhancement. free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5.4 lens correction ( lenc ) t he mai n p u rpose of the lens cor r ection ( l e n c ) function is to c o mpens a t e for lens imperf e ction. acco r d ing to th e r adius of e a ch p i xel t o the lens, t h e module calcula t es a g a in f o r the pixel, cor r ecting e a ch pixel w i th i t s gain c a lcula t ed to compensate fo r the light distribution due to lens curvature. table 5-4 lenc regis t ers ( sheet 1 of 5 ) a ddress r e gister n a me d e fault value r / w description 0x85 agc offset 0x00 r w bit[7:0]: o f fset f o r dsn_th auto value 0x80 isp c t rl00 1'b1 r w bit[1]: len c _en 0: disabl e lenc 1: enable lenc 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h1 bias ctrl 1'b1 1'b0 rw bit[4]: len c _bias_on 0: len c bias is 0 1: len c bias is t h e lenc o f f s et bit[0]: len c _o f f _ man_en 0: len c o f fset is the blc 1: len c o f fset is manual o f f s et 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h2 l e n c o ff man 0x00 r w bit[7:0]: len c _o f f _ man manual o f fset fo r lenc 0x89 l e n c c t r l 0x30 r w bit[7:6]: r e served bit[5]: len c _bias_plus 0: len c bias will be n o t added back to lenc co r r ected da t a. 1: len c bias w i ll be added back to l e n c corrected da t a. bit[4]: r nd_en 0: disabl e da t a r o und 1: enable da t a round bit[3:2]: v_skip v e rt i c a l sk i p a nd i t s s k i p step i s 2^ ( the n u mber set in v _ skip ) bit[1:0]: h_skip horiz o n t al skip and i t s skip step is 2^ ( th e number set in h_skip ) free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-5 0x8a le n c red x0 0x40 r w bit[7:0]: r ed_x 0 [ 7:0] r ed_x0 is ho r izon t al center position in r ed color channels, it s h ould b e fixed as the ho r izon t al position of image which com e from the middle of lens, so it is usually set as the ho r izon t al position of middle pix e l of e a ch image. r ange f r om 0 to 639. see l e nc red xy0 [1 : 0 ] ( 0x8c ) 0x8b le n c red y0 0xf0 r w bit[7:0]: r ed_y 0 [ 7:0] r ed_y0 is vertical cente r position in r ed color channels, it s h ould b e fixed as the vertic a l position of imag e which com e from the middle of lens, so it is usually set as the vertic a l position of middle p i xel of e a ch image. r a nge from 0 to 6 3 9. see lenc red xy0 [4] ( 0x8c ) 0x8c le n c red xy0 0x01 r w bit[7:5]: reserved bit[4]: r ed_y 0 [ 8] see l e nc red y0 [ 7 :0] ( 0x8a ) bit[1:0]: r ed_x 0 [ 9:8] see l e nc red y0 [ 7 :0] ( 0x8b ) 0x8d le n c red a1 0x22 r w bit[7]: reserved bit[6:0]: r ed_a1 t he p a rameter constr u c t th e first gro u p of factors used in len c co r r ecti o n in r ed colo r channels. 0x8e le n c red b1 0xc2 r w bit[7:0]: r ed_b1 l e n c correction in red color channels. table 5-4 lenc regis t ers ( sheet 2 of 5 ) a d dress r e gister n a me d e fault value r / w d e scr i p tion free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x8f l e n c red ab2 0x87 r w bit[7:4]: r ed_b2 the p a r a mete r const r uct th e second gro u p of factors used i n lenc c o rre c t i on in re d c o l o r channels. bit[3:0]: r ed_a2 the p a r a mete r const r uct th e first gro u p of factors used i n len c co r r ection in r ed colo r channels. 0x90 l e n c g r n x0 0x40 r w bit[7:0]: g r n_x 0 [ 7:0] grn_x0 is ho r izon t al center position in g r een colo r channels, it should be f i xed as the horizon t alposition of imag e w h ich c o me from the middle of lens, so it is usually set as the ho r izon t al posi t ion o f middle pixel of e a ch image. r ange f r om 0 to 639. see l e nc grn xy0 [1:0 ] ( 0x92 ) 0x91 l e n c g r n y0 0x f 0 r w bit[7:0]: g r n_y 0 [ 7:0] grn_y0 is vertical cente r position in g r een colo r channels, it should be f i xed as the ve r t ical position of image w h ich c o me from the middle of lens, so it is usually set as the vertical position of middle pixel of e a ch image. r a nge fro m 0 to 6 3 9. see l e nc grn xy0 [ 4 ] ( 0x92 ) 0x92 l e n c g r n xy0 0x01 r w bit[7:5]: r e served bit[4]: g r n_y 0 [ 8] see len c grn y0 [7:0] ( 0x91 ) bit[1:0]: g r n_x 0 [ 9:8] see len c grn x0 [7:0] ( 0x90 ) 0x93 l e n c g r n a1 0x22 r w bit[7]: r e served bit[6:0]: g r n_a1 the p a r a mete r const r uct th e first gro u p of factors used i n len c corr e ction in green color channels. 0x94 l e n c g r n b1 0xc2 r w bit[7:0]: g r n_b1 l e n c cor r ec t i on in green colo r channels. table 5-4 lenc regis t ers ( sheet 3 of 5 ) a ddress r e gister n a me d e fault value r / w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-7 0x95 l e n c g r n ab2 0x87 r w bit[7:4]: g r n_b2 t he p a rameter constr u c t th e sec o nd grou p of factors used in lenc cor r ection in g r een col o r channels. bit[3:0]: g r n_a2 t he p a rameter constr u c t th e first gro u p of factors used in len c corr e ction in g r een color channels. 0x96 le n c blu e x0 0x40 r w bit[7:0]: blu_x0[7:0] b l u_x0 is h o rizon t al cente r position in bl u e colo r channels, it s h ould b e fixed as the ho r izon t alposition of image which com e from the middle of lens, so it is usually set as the ho r izon t al position of middle pix e l of e a ch image. r ange f r om 0 to 639. see l e nc b l ue xy0 [1:0] ( 0x98 ) 0x97 le n c blu e y0 0xf0 r w bit[7:0]: blu_y0[7:0] b l u_y0 is ver t ical cente r position in bl u e colo r channels, it s h ould b e fixed as the vertic a l position of imag e which com e from the middle of lens, so it is usually set as the vertic a l position of middle p i xel of e a ch image. r a nge from 0 to 6 3 9. see l e nc b l ue xy0 [4] ( 0x98 ) 0x98 le n c blu e xy0 0x01 r w bit[7:5]: reserved bit[4]: blu_y0[8] see l e nc b l ue y0 [7:0] ( 0x97 ) bit[3:2]: reserved bit[1:0]: blu_x0[9:8] see l e nc b l ue x0 [1:0] ( 0x96 ) table 5-4 lenc regis t ers ( sheet 4 of 5 ) a d dress r e gister n a me d e fault value r / w d e scr i p tion free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x99 l e n c blu e a 1 0x22 r w bit[7]: r e served bit[6:0]: blu_a1 the p a r a mete r const r uct th e first gro u p of factors used i n len c co r r ection in b l ue color channels. 0x9a l e n c blu e b 1 0xc2 r w bit[7:0]: blu_b1 l e n c corr e ction in bl u e color channels. 0x9b l e n c blu e a b 2 0x87 r w bit[7:4]: blu_b2 the p a r a mete r const r uct th e second gro u p of factors used in lenc cor r ection in blue color channels. bit[3:0]: blu_a2 the p a r a mete r const r uct th e first gro u p of factors used i n len c co r r ection in b l ue color channels. table 5-4 lenc regis t ers ( sheet 5 of 5 ) a ddress r e gister n a me d e fault value r / w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-9 5.5 gamma ( gma ) t he mai n purpose of gamma ( gma ) is t o comp e n sate t h e non-l i n ear of senso r . gm a conver t s the pixel values according to t h e gamm a cu r v e to com p ensat e the senso r output in di f f erent li g h t st r ength. t he non - linear g a mma cu r v e is app r oximately c onstructed w i th di f f erent linear fu n c tion. table 5-5 gma regis t ers ( sheet 1 of 2 ) a d dress r e gister name defau l t v a lue r / w d e scr i pt i o n 0x83 is p ctr l 03 1'b1 r w bit [ 0]: s 2p_first_rblue 0: first line of s2 p is gr line 1: first line of s2 p is bg line 0x80 is p ctr l 00 1'b1 r w bit [ 3]: gamma_en 0: dis a ble g a mma 1: enable gamma 0x84 sub add r ess: 0x38[3:0]=4?h1 b i a s c t rl 1'b1 1'b0 rw bit [ 6]: g ma_bias_on 0: gamma bias is 0 1: gamma bias is the g a mma o f fset bit [ 2]: g ma_o f f_man_ e n 0: gamma o f fse t is the blc 1: ganma o f fset is manual o f f s e t 0x84 sub add r ess: 0x38[3:0]=4?h4 gm a o f f m a n 0x00 r w bit [ 7:0]: g ma_o f f_man man u al o f fset for l e n c 0x9c gm a y s t 0 1 0x0e r w b i t [ 7:0]: yst1 y-coor d i nate of pixels in the gamma curve 0x9d gm a y s t 0 2 0x1a r w b i t [ 7:0]: yst2 y-coor d i nate of pixels in the gamma curve 0x9e gm a y s t 0 3 0x31 r w b i t [ 7:0]: yst3 y-coor d i nate of pixels in the gamma curve 0x9f gm a y s t 0 4 0x5a r w b i t [ 7:0]: yst4 y-coor d i nate of pixels in the gamma curve 0xa0 gm a y s t 0 5 0x69 r w b i t [ 7:0]: yst5 y-coor d i nate of pixels in the gamma curve free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0xa1 gm a y s t06 0x75 r w b i t [ 7:0]: yst6 y-coo r dinat e of pixels in the gamma curve 0xa2 gm a y s t07 0x7e r w b i t [ 7:0]: yst7 y-coo r dinat e of pixels in the gamma curve 0xa3 gm a y s t08 0x88 r w b i t [ 7:0]: yst8 y-coo r dinat e of pixels in the gamma curve 0xa4 gm a y s t09 0x8f r w b i t [ 7:0]: yst9 y-coo r dinat e of pixels in the gamma curve 0xa5 gm a y s t10 0x96 r w bi t [ 7:0]: yst10 y-coo r dinat e of pixels in the gamma curve 0xa6 gm a y s t 1 1 0xa3 r w b i t [ 7:0]: yst 1 1 y-coo r dinat e of pixels in the gamma curve 0xa7 gm a y s t12 0xaf r w bi t [ 7:0]: yst12 y-coo r dinat e of pixels in the gamma curve 0xa8 gm a y s t13 0x c 4 r w bi t [ 7:0]: yst13 y-coo r dinat e of pixels in the gamma curve 0xa9 gm a y s t14 0x d 7 r w bi t [ 7:0]: yst14 y-coo r dinat e of pixels in the gamma curve 0xaa gm a y s t15 0xe8 r w bi t [ 7:0]: yst15 y-coo r dinat e of pixels in the gamma curve 0xab g m a yslp 0 x 2 0 r w b i t [ 7:0]: yslp15 slope's sl o pe of pixels in t h e gamma curve w h en i t s x-coordinate is 1.0 table 5-5 gma regis t ers ( sheet 2 of 2 ) a ddress register name defau l t value r / w d e scr i ption free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-11 5.6 auto white balance ( a wb ) t he main purpose of aut o w h ite balance ( a w b ) is to mak e auto white balance c o rrection. table 5-6 a w b registers a d dress r e g i s t er n a me d e f a ult value r / w d e scr i pt i o n 0x80 isp c t rl00 1'b1 1'b1 rw bit [ 4]: a wb_c_en 0: dis a ble a w b 1: enable a w b bit [ 2]: a wb_ g ain_ e n 0: dis a ble a w b gain 1: enable a w b gain 0x83~0x84 rsvd ? ? reserved 0x84 sub add r ess: 0x38[3:0]=4?h3 a w b o ff man 0x00 r w bit [ 7:0]: a wb_ o f f _man man u al o f fset for a w b 0xac~0xc2 r svd ? ? reserved free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5.7 white black pi x e l cancellation ( wbc ) t he main purp o se of w h it e / black pixel ca n c ell a t i on ( w b c ) is r e moving w h i t e / black pixels e f fect. table 5-7 wbc registers ( she e t 1 of 2 ) a ddress reg i ster name defa u lt value r/w d e scr i ption 0x80 isp ct r l00 1'b1 1'b1 rw bi t [ 6]: b lack_en 0: disable b l ack pixel co r r ection 1: enable black pixel co r r ection bi t [ 5]: w hite_en 0: disable w h ite pixel co r r ection 1: enable white pixel co r r ection 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h0 bist ctrl 1 ' b0 r w bi t [ 1]: p w r dn_wbc when it is set, wbc sram will be r e set 0xc3 wbc ct r l00 0x1e r w bi t [ 7]: r eserved bi t [ 6]: r eserved bi t [ 5]: m i rro r _ man ma n ual mir r or setting: 0: no mir r or mo d e 1: m i rr o r mode bi t [ 4]: s c_en ena b le same channel detection bi t [ 3]: d c_en ena b le di f f erent channel detection bi t [ 1]: de t ail_en ena b le de t ail detection method bi t [ 0]: m an_en ma n ua l mo d e 0xc4 wbc ct r l01 0x03 r w bi t [ 7]: r eserved bi t [ 6:4]: gain[10:8] ma n ual agc gain setting for wb c , see wbc g a in man [ 7 :0] ( 0x c 5 ) bi t [ 3]: gain_man_en 0: use the real ag c gain in w b c 1: use manual ag c g a in in w b c bi t [ 2:0]: s hi f t r i ght shi f t fo r gain value free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-13 0xc5 w b c g a in man 0x 1 0 r w bit [ 7:0]: gain[7:0] man u al agc gain setti n g for wbc, see wbc c t rl01 [ 6 :4] ( 0x c 4 ) 0xc6 w b c whi t e th r e s h old 0x 0 8 r w bit [ 7]: r eserved bit [ 6:0]: w th r e t h reshold v a lue f o r detecting white pixel 0xc7 w b c black th r e s h old 0x 1 0 r w bit [ 7:0]: b th r e t h reshold v a lue f o r detecting bl a c k pixel 0xc8 w b c r e c o v th r e s h old 0x 0 c r w bit [ 7:0]: t hre t h reshold v a lue used in r e cove r y 0xc9 w b c s th r e s h old 0x 0 8 r w bit [ 7]: r eserved bit [ 6:0]: s thre 0xca w b c ct r l02 0x 6 f r w bit [ 7:5]: gainbd_pwr set g a inbd _ times as 2^gain b d_pwr bit [ 4:2]: r ef g a in_ p wr set r e fgain_tim e s as 2^refgain_pwr bit [ 1:0]: bd_sel boun d ary select options table 5-7 wbc registers ( sh e et 2 of 2 ) a d dress register name defa u lt value r/w d e scr i pt i o n free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5.8 color interpolation ( cip ) t he main purp o ses of the c i p modul e includes: ? de- n o ise r a w da t a ? i n t erpolate r a w da t a to rgb da t a ? edge en h anc e m ent t here a r e two m e thods to se t some p a ramete r s : auto and ma n ual mo d e . this modul e can o u tput rgb da t a an d de - noised r a w da t a. setting the r egiste r 0xcc bit[6:5] to 0 will enable auto mode. table 5-8 cip registers a ddress r e g i s t er n a me d e f a ult value r/w description 0x81 isp c t rl01 1'b1 r w b i t[0]: cip_en 0: disable cip 1: e n able c i p 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h0 bist ctrl 1'b0 r w b i t[2]: pwrdn _ cip when it is set, c i p sram will be reset 0xcb cip dns thresh man 0x08 r w b i t[7:0]: dns_t h _ man manual s e tting for de - noise 0xcc cip c t rl 0x04 r w b i t[7]: res e rved b i t[6]: edge_mt_man_ e n manual mode fo r edge enhancement setti n g b i t[5]: dns_t h _ man_en manual mode fo r de-n o ise setting b i t[4:0]: y_ed g e_mt_man manual s e tting for edge enhancement 0xcd cip edge threshold 0x06 r w b i t[7:4]: res e rved b i t[3:0]: y_ed g e_th edge enha n cemen t threshold free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-15 5.9 color matrix ( cmx ) t he main pu r pose of colo r matrix ( c mx ) is conve r t i ng th e imag e from rgb domain to yuv dom a i n. f o r di f f erent color tempe r ature , the p a r a meters in the tra n smitti n g function w i ll be ch a nged. table 5-9 cmx regis t ers a d dress r e gister n a me d e fault value r/w descri p t i on 0x81 isp c t rl01 1'b1 r w bit[1]: cmx_en 0: disable cmx 1: enable cmx 0x84 sub add r ess: 0x38[3:0]=4?h1 bias ctrl 1'b1 1'b0 rw bit[7]: cmx_bias_on 0: cmx bias is 0 1: cmx bias is the cmx o f fset bit[3]: cmx_o f f_man_en 0: cmx o f fs e t is the blc 1: cmx o f fs e t is manual o f fset 0x84 sub add r ess: 0x38[3:0]=4?h5 c m x o f f man 0x00 r w bit[7: 0 ]: cmx_o f f_man manual o f fset for le n c 0xce c m x m1 0x41 r w bit[7: 0 ]: cmx_m1 absolu t e value setting for c o lor matrix t o calculate v 0xcf c m x m2 0x3c r w bit[7: 0 ]: cmx_m2 absolu t e value setting for c o lor matrix t o calculate v 0xd0 c m x m3 0x06 r w bit[7: 0 ]: cmx_m3 absolu t e value setting for c o lor matrix t o calculate v 0xd1 c m x m4 0x17 r w bit[7: 0 ]: cmx_m4 absolu t e value setting for c o lor matrix t o calculate u 0xd2 c m x m5 0x3a r w bit[7: 0 ]: cmx_m5 absolu t e value setting for c o lor matrix t o calculate u 0xd3 c m x m6 0x52 r w bit[7: 0 ]: cmx_m6 absolu t e value setting for c o lor matrix t o calculate u 0xd4 c m x ctrl 0x5e r w bit[6]: cmx_db bit[5: 0 ]: cmx_sign sign for c m x m 1 ( 0xce ) t o cmx m6 ( 0 x d 3 ) free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5.10 winc the main pu r pos e s of t h e winc module is to make t h e imag e siz e s to b e real sizes by r e mov e o f fse t s. 5.11 s c ale_h t he main p u rposes of t h e scale_h module is to r ealize ho r izon t al zoom- o ut function. if do ho r izon t al sub - sample a nd ou t put yuv422, the s c a l e _ h will be set to 1 aut o m aticall y . table 5-10 winc registers a ddress register name defau l t value r/w description 0x82 is p ct r l02 1'b1 r w b i t[1]: wi n c _en 0: disable window c r opping 1: enabl e win d ow cropping 0x83 is p ct r l03 1'b0 r w b i t[2]: raw_a f t_cip 0: out p ut r a w da t a are from wbc 1: out p ut raw d a t a ar e the cip o u tput ra w da t a table 5-11 s c ale_h regis t ers a ddress register name defau l t value r/w description 0x82 is p ct r l02 1'b0 r w b i t[2]: scale_h_en_ r eg 0: disable ho r izon t al scale 1: enabl e horizo n t a l scale 0xd7 scaleh x s c man 0x00 r w b i t[7:0]: xsc_man[7:0] manual value o f horiz o n t a l scale co e f ficient, see 0x d 8 [2:0] also 0xd8 scaleh ct r l 0x04 r w b i t[7]: h_drop 0: a v erag e mode for d c w 1: drop m o de for d c w b i t[6]: scale_man 0: auto mode 1: manual mode b i t[5:4]: h_div_man manual div value b i t[3]: h_round b i t[2:0]: xsc_man[10:8] see sca l e h xs c man [7:0 ] ( 0xd7 ) free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-17 5.12 yuv444 t o422 t he main pu r poses of th e yuv444 t o422 module is to t r ansform yuv44 4 format to y u v422 forma t . table 5-12 yuv444 t o422 registers a d dress r e gister name defau l t v a lue r/w description 0x81 is p ctr l 01 1'b1 r w b i t[3]: yuv422_en 0: disable yuv44 4 to422 1: e n able yuv444to422 0xd9 y u v422 ctrl 0x00 r w b i t[7:2]: res e rved b i t[1]: v_first 0: out p ut line will be yuy v ... 1: out p ut line w i ll be yvyu... ( i t w i ll a f fect definition of u/v in sde. if it is s e t, a l l r e gisters in sde about u/v must be swapped. ) b i t[0]: cnv_opt 0: a v erage mode 1: drop m o de free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5.13 special digital effects ( sde ) t he main purp o se of s pecial digi t a l e f fec t s ( sde ) is ma king special digi t a l e f fect such a s hu e /satu r ation etc. use sde_ c t rl to get some special e f fect o f image. calcu l ate the n e w u and v f r om hue c o s, h ue sin, and sign of the p a ramete r s , o r fix the u and v valu e s ; satu r a te the u and v acco r d i n g to the sat_u a nd sat_v; calculate the y from y o f fset, y gain, a nd y bright, or s e t the y value; invert the y u v values t o get a negative image; fixed u a n d v to 1 28 ( 8bit da t a ) r e sulting i n gray ima g e. table 5-13 sde registers ( sheet 1 o f 2 ) a ddress register name defau l t value r/w description 0x81 is p ct r l01 1'b1 r w b i t[5]: sde _ en 0: disable sde 1: enabl e s d e 0xda sde ct r l 0x00 r w b i t[7]: fixy_en when it is s e t, the output y will be a fixed value. b i t[6]: neg_en 0: disable negative c o lo r e f fect 1: enabl e negative color e f fect b i t[5]: gray_en 0: disable gr a y e f fect 1: enabl e gray e f fect b i t[4]: fixv_en when it is s e t, the output v will be the val u e set in r egiste r s d e vreg [7 : 0 ] ( 0xe0 ) b i t[3]: fixu_en when it is set, th e output u w i ll be the val u e set in r egiste r sde ureg [7:0] ( 0xdf ) b i t[2]: cont _ e n 0: disable contrast/o f f set /b r i ght n e ss 1: enabl e cont r a st/o f f set/ b r ight n e ss b i t[1]: sat_ e n 0: disable saturation e f fect 1 e nabl e satu r a tion e f fect b i t[0]: hue_en 0: disable hue e f fect. 1: enabl e hue e f fect 0xdb sde hue cos 0x80 r w b i t[7:0]: hue_cos cos value for h ue e f fect free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-19 0xdc s d e hue s i n 0x00 r w b i t[7:0]: hue_sin sin value for h u e e f f e ct 0xdd s d e us a t 0x40 r w b i t[7:0]: sat_u enhancement fo r u v a lue in saturation e f fect 0xde s d e v s a t 0x40 r w b i t[7:0]: sat_v enhancement fo r v value in saturation e f fect 0xdf s d e ureg 0 x80 r w b i t[7:0]: u_reg u val u e for fixed u e f fect 0xe0 s d e vreg 0 x 80 r w b i t[7:0]: v_reg v v a lue fo r fixed v e f fect 0xe1 s d e y o ffset 0x00 r w b i t[7:0]: y_o f fset y value for fixed y e f fect or the o f fset val u e for cont r a st e f fect 0xe2 s d e y g ain 0 x 2 0 r w b i t[7:0]: y_gain gain in contract e f fect 0xe3 s d e y b r i g h t 0x00 r w b i t[7:0]: y_brig h t brightness in brightness e f fect 0xe4 s d e s g nset 0x06 r w b i t[7:6]: res e rved b i t[5:0]: sgnset table 5-13 sde registers ( sheet 2 o f 2 ) a d dress r e gister name defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 5.14 s c ale_v t he main purp o ses of the s c a l e _ v m o dule is to do vertical scale. 5.15 v a p t he main purp o ses of the v ap mod u le is to do ho r izon t al sub-sampl e when out p u t r a w da t a. table 5-14 s c ale_v registers a ddress reg i ster name defa u lt value r / w d e scr i ption 0x82 isp ct r l02 1'b0 r w bi t [ 3]: s cale_v_en 0: disable ve r t ical scale 1: enable vertical scale 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h0 bist ctrl 1 ' b0 r w bi t [ 3]: p w r dn_scale_v when it is set, scale_v sram will be r e set 0xe5 scalev ct r l 0x0c r w bi t [ 7]: m anual_mode bi t [ 6:4]: d r o p_o f fset o f fset fo r dcw d r op mode bi t [ 3]: d r o p_mode ma n ual d c w drop mo d e setti n g bi t [ 2]: z oom_2r a m _mode ma n ual r a m mode setting bi t [ 1:0]: v _div ma u nal div value fo r dcw table 5-15 v a p regist e r s a ddress register name defau l t value r/w description 0xe6 v a p c t rl 0x10 r w b i t[7:5]: reserved b i t[4]: vap _ mean 0: no mean fo r sum 1: mean fo r sum b i t[3:2]: reserved b i t[1]: g_drop 0: summary mode 1: drop m o de b i t[0]: br_d r op 0: summary mode 1: drop m o de free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 5-21 5.16 16-zone luminance a v e r age ( y a v g ) t he main purposes of the y a v g module includes: ? c a l cul a te y ave r age based on selected y ? c a l cul a te bright pixel count and b l ack pixel cou n t ? s u pport y da t a table 5-16 y a v g registers ( shee t 1 of 2 ) a d dress r e gister name defau l t v a lue r / w d e scr i pt i o n 0x82 is p c t rl 0 2 1'b1 r w bit [ 5]: y avg _ en 0: dis a ble y average 1: enable y ave r age 0x83 is p c t rl 0 3 1'b0 1'b1 rw bit [ 4]: y avg _ yuv_mode 0: yavg inpu t s a r e ra w d a t a 1: yavg inpu t s a r e y of yuv422 bit [ 3]: y avg _ a f t_wbc 0: inpu t s of yavg comes f r om awb _ gain 1: inpu t s of yavg comes f r o m w b c 0xe9 sub add r ess: 0x38[3:0]=4?h0 y a v g black threshold 0x00 r w bit [ 7:0]: b lk_t h r esh t h reshold for black n ess 0xe9 sub add r ess: 0x38[3:0]=4?h1 ya v g b r i g h t threshold 0x00 r w bit [ 7:0]: b rt _ t hresh t h reshold for b r i g htness 0xe9 sub add r ess: 0x38[3:0]=4?h2 y a v g ho f f 0x00 r w bit [ 7:0]: y avg _ win o fh[7:0] h o rizon t al o f fset for window cropping in y a v g . 0xe9 sub add r ess: 0x38[3:0]=4?h3 y a v g voff 0x00 r w bit [ 7:0]: y avg _ win o fv[7:0] v e rtical o f fset for w i nd o w cropping in y a v g . free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h4 y a v g c t rl 0x00 r w bi t [ 7:6]: r eserved bi t [ 5]: y avg _ win _ man 0: wi n dow will be th e default wi n dow 1: wi n dow will be th e win d ow set by the registe r s bi t [ 4]: y avg _ win o fv[8] see yavg_vo f f _ l ( 0 xe9, 0x38[3:0] = 4'h3 ) bi t [ 3:2]: r eserved bi t [ 1:0]: y avg _ win o fh[9:8] see yavg_ho f f_l ( 0xe9, 0x38[3:0] = 4'h2 ) 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h5 ya v g h s i z e 0 x 0 0 r w bi t [ 7]: r eserved bi t [ 6:0]: y avg _ winh h o rizon t al size of c r oppi n g windo w . it will be multiplied by 8 to be r eal siz e . 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h6 y a v g vsi z e 0x00 r w bi t [ 7]: r eserved bi t [ 6:0]: y avg _ winv v e rtical size o f c r oppi n g windo w . it will be multiplied by 4 to be r eal siz e . table 5-16 y a v g registers ( shee t 2 of 2 ) a ddress register name defau l t value r/w d e scr i ption free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 6-1 6 i mage sensor output inter f ace digital functions 6.1 digital video port ( d vp ) 6 .1.1 o v ervi e w t he digi t a l v i deo po r t ( d vp ) p r ovides 10-bit p a r a llel d a t a output in all forma t s suppo r ted and extended featu r es including h r e f , c c ir656 fo r m at, hsync mode and test p a t t ern outp u t. 6 .1.2 hr e f mode h r ef mode is the default mode of the dv p . each d v p _ v syn c in d i cates the s t arting of a n e w fram e . 6 .1.3 ccir656 mode t he OV7740 suppo r t s s t andard ccir 6 56 mode. the sync c o de can be chan g ed manuall y . ?f ? of the sync code can be switch e d . t o set c c ir656 mo d e set t ings: ? w rite 0x12[5] to 1 ( se t s ccir6 5 6_en = 1 ) ? 0 x52[3] indicates ? f ? of th e sync cod e . figure 6-1 ccir656 timing pclk pixel note 1 xp: {1, f , v , h, p[3:0]} f: 0 for field 1; 1 for field 2 v: 0 for all else; 1 for field blanking h: 0 for s a v; 1 for e a v p[3:0]: protect bits 1 1 1 1 1 f 0 0 0 0 v 0 0 1 1 h 0 1 0 1 p3 0 1 1 0 p2 0 1 0 1 p1 0 0 1 1 p0 0 1 1 0 1 1 1 1 1 f 1 1 1 1 v 0 0 1 1 h 0 1 0 1 p3 0 1 1 0 p2 1 0 1 0 p1 1 1 0 0 p0 1 0 0 1 80 10 ff 00 00 xp dat dat ff 00 00 xp 80 10 7740_ds_6_3 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 6. 1 .4 d v p timing figur e 6-2 d v p t i m i n g d i a g r a m d[9:0] href h s ync v s ync ( 1 ) ( 2 ) ( 3 ) ( 7 ) ( 6 ) ( 8 ) invalid data ( 4 ) ( 5 ) ( 9 ) 7740_ds_6_4 note the timing values s h own in t a b l e 6 - 1 m a y v a ry depending upon register settings. table 6-1 d v p timing specificati o ns mode timing vga 64 0 x480 ( 1 ) 39916 8 = 5 04 lines ( 2 ) 3168 ( 4 lines ) ( 3 ) 9674 ( 4 ) 792 ( 5 ) 6318 ( 6 ) 640 ( 7 ) 152 ( 8 ) 106 ( 9 ) 48 qvga 32 0 x240 ( 1 ) 19958 4 = 2 52 lines ( 2 ) 1584 ( 2 lines ) ( 3 ) 6882 ( 4 ) 792 ( 5 ) 1508 ( 6 ) 320 ( 7 ) 472 ( 8 ) 200 ( 9 ) 48 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 6-3 table 6-2 d v p control registers a d dress r e gister n a me d e fa u l t value r/w description 0x12 r e g12 0 x 1 1 r w b it[5]: c c ir656 e nable 0x28 r e g28 0 x00 r w bit[7]: output d a t a bit reverse option. bit[6]: h r ef pin output swap 0: h r ef 1: h s y n c bit[5]: h s y n c polarity 0: posit i ve 1: n egative bit[4]: h r ef polarity 0: output positive h r ef 1: output negative h r ef fo r da t a valid bit[3]: n o vs y n c output o p tion. 0: s t ill output vsync w hen fram e drop 1: n o vs y n c output w hen fram e drop bit[2]: r e serv e d bit[1]: vsync polarity 0: posit i ve 1: n egative 0x0c r e g0c 0 x02 r w bit[4]: yuv o u tput, y <-> uv swap 0: yu y vyuyv 1 : uy v y u y vy bit[3]: output d a t a high 8-bit msb and lsb swap 0: output [ d at a 9 , d at a 8 ? d at a 3 , d a t a 2,d a t a 1 , d a t a 0] 1: output [ d at a 2 , d at a 3 ? d at a 8 , d a t a 9,d a t a 1 , d a t a 0] 0x65 r e g65 0 x00 r w bit[3]: output d a t a bit s w ap option 0: output d a t a [9: 0 ] 1: output d a t a [0: 9 ] free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-1 7 r egister tables t he following t a bles p r ovide descri p tion s of th e device co n t rol registers co n t a i n ed in t he ov7 7 40. fo r all r e gister enable/disable b i t s , enable = 1 and d i s able = 0. the d e vic e slave addresses a r e 0x42 fo r write and 0x43 fo r rea d . table 7-1 system control registers ( shee t 1 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description 0x00 gain 0x00 r w a g c gain contro l l s bs ( msbs i n reg1 5 [ 1:0] ( 0x 1 5 ) ) bit[7:0]: an a l og g a in 0x01 bgain 0 x40 r w b c hannel g a in 0x02 rgain 0 x40 r w r chann e l gain 0x03 gg a i n 0x40 r w g c h annel gain 0x04 rsvd ? ? res e rved 0x05 b a vg 0x00 r w b c hannel a v era g e 0x06 g a vg 0x00 r w g c h annel a v erage 0x07 r a vg 0x00 r w r chann e l a v e r age 0x08~ 0x09 rsvd ? ? re s e rved 0x0a pidh 0x77 r p r oduct id num b er msb ( r ead only ) 0x0b pidl 0x40 r p r oduct id num b er lsb ( r ead only ) 0x0c reg0c 0 x02 r w bit[7]: v e r t ical f l ip bit[6]: mirror bit[5]: r e s e rved bit[4]: y u v output, y ? uv swap 0: y u y vyuyv 1: uy v y u y vy bit[3]: h i gh 8-bit msb an d lsb swap 0: outp u t [y9,y8?y3,y2,y1,y0] 1: outp u t [y2,y3?y8,y9,y1,y0] bit[2:1]: m a x exposure = f r ame length ? l i m i t * 2 bit[0]: array color bar 0x0d rsvd ? ? res e rved free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x0e reg0e 0 xe0 b i t[7]: b l c line sel e ction 0: e l ectric a l blc. 1: optical bl c . b i t[6:5]: b l c line sel e ction 00 s e lect both blue line and r e d line as blc line. 01: only select red line as blc l i n e . 10: only select bl u e line as blc l i n e . 1 1 : s e l ect both blue line and r e d line as blc line. b i t[4]: res e rved b i t[3]: s l eep mo d e b i t[2:0]: res e rved 0x0f haec 0x00 r w a u tomatic expos u r e co n t rol bit[15: 8 ] ( lsbs in aec[7: 0 ] ( 0x10 ) ) 0x10 aec 0x f 0 r w a u tomatic expos u r e co n t rol bit [7: 0 ] ( msbs in haec[ 7 :0] ( 0x0f ) ) 0x 1 1 c l k 0 x00 r w b i t[7:6]: res e rved b i t[5:0]: clock divider c l k = x v c l k1/ ( decim a l val u e of clk[5:0] + 1 ) 0x12 reg12 0 x 1 1 r w b i t[7]: s o f t reset 0: reserved 1: initiate system res e t. all r e gisters a r e set t o factory default val u e a f te r whic h the c h ip r e s u mes norma l ope r ati o n. b i t[6]: v e rtical skip mode b i t[5]: cc656 mode b i t[4:2]: res e rved b i t[0]: outp u t raw d a t a rgb mode table 7-1 s y stem cont r o l r egiste r s ( s hee t 2 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-3 0x13 reg13 0 x87 r w bit[7]: aec spee d selection 0: normal 1: faster aec cor r ec t i on bit[6]: en a b le f r ame d r op function bit[5]: ba n d ing f i lter on/of f select i o n bit[4]: en a b le aec b e low banding value bit[3]: t p level exposure on/of f select i o n bit[2]: agc au t o/manual co n t rol select i o n bit[1]: aut o white balance cont r o l select i o n bit[0]: exposure auto/manual control select i o n 0x14 reg14 0 x30 r w bit[7]: r e s e rved bit[6:4]: agc gain ceiling 000: 2x 001: 4x 010: 8x 0 1 1: 16x 100: 32x bit[3:0]: r e s e rved 0x15 reg15 0 x00 r w bit[7]: en a b le inserting fr a m es in n i ght m o de bit[6:4]: c e iling of insertin g frames bit[3:2]: r e s e rved bit[1:0]: agc msbs ( digi t al g a in ) ( lsbs in gain[7:0] ( 0x00 ) ) 0x16 reg16 0 x00 r w bit[7:6]: r e s e rved bit[5]: se n s o r ve r t ical output size 1 l s b s bit[4:3]: se n s o r horiz o n t a l output size 2 l s b bit[2]: se n s o r ve r t ical output s t a r t p o i n t 1 l s b bit[1]: se n s o r h o rizon t a l output s t art p o i n t 2 l s b s 0x17 ahs t a r t 0 x 2 a r w s e nso r horizon t al o u tput s t art point 8 m s bs ( lsbs in reg 1 6[1:0] ( 0 x 16 ) ) 0x18 ahsi z e 0xa0 r w s e nso r horizon t al o u tput size 8 msbs ( lsbs in reg16[4:3 ] ( 0x16 ) ) 0x19 a vs t a r t 0 x05 r w s e nso r v e r t ical output s t art point 8 msbs ( lsbs in reg16[2] ( 0x16 ) ) table 7-1 system control registers ( shee t 3 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x1a a vsi z e 0x f 0 r w s e nso r v e r t ical output size msbs ( lsb i n reg 1 6[5] ( 0x 1 6 ) ) 0x1b psh f t 0x80 r w p i xel shi f t 0x1c mi d h 0x7f r m anufacture r id byte - high 0x1d mi d l 0xa2 r m anufacture r id byte - low 0x1e reg1e 0 x 1 1 r w b i t[7:1]: res e rved b i t[0]: a e c step cont r o l 0: a e c max increasi n g step less than vertical black 1: a e c max increasi n g step has no limit 0x1f reg1f 0 x00 ls b s of tp level exp o su r e co n t rol when exp o su r e is less than o ne line. ( m s b s in reg3 0 ( 0x30 ) ) 0x20~ 0x23 rsvd ? ? reserved 0x24 w p t 0 x78 r w lumin a n ce signal high range for a e c / agc ope r ati o n 0x25 b p t 0 x68 r w lumin a n ce signal low r ange for a e c / agc ope r ati o n 0x26 v p t 0 x d 4 r w e f f ective o n ly aec/ag c fast mode 0x27 reg27 0 x00 r w b i t[7]: b l ack sun cancellation enable b i t[6:0]: res e rved table 7-1 s y stem cont r o l r egiste r s ( s hee t 4 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-5 0x28 reg28 0 x00 r w bit[7]: outpu t da t a bit reverse option bit[6]: h r ef pin outp u t sw a p 0: href 1: hsy n c bit[5]: h s y n c polarity 0: p o sit i ve 1: negative bit[4]: h r ef polarity 0: outp u t positive h r ef 1: outp u t negative h r ef fo r da t a valid bit[3]: n o vs y n c output o p tion 0: s t ill outp u t vsync w h en fr a m e drop 1: no v syn c o u tput when fr a m e drop bit[2]: r e s e rved bit[1]: vsync po l ar i t y 0: p o sit i ve 1: negative bit[0]: r e s e rved 0x29 reg29 0 x18 r w h oriz o n t a l tp counte r end point lsbs 0x2a reg2a 0 x03 r w h oriz o n t a l tp counte r end point ms b s 0x2b reg2b 0 x f 8 r w r ow co u n ter end point lsbs 0x2c reg2c 0 x01 r w r ow co u n ter end point msbs 0x2d reg2d 0 x00 r w a u tomatically insert ed dummy lines in nig h t mode lsbs 0x2e reg2e 0 x00 r w a u tomatically insert ed dummy lines in nig h t mode msbs 0x2f y a v g 0 x00 r w lumin a n ce a v erage v a lue 0x30 reg30 0 x00 r w m s bs of tp l e vel ex p o su r e cont r o l w hen exposu r e is less than o n e line. ( l s b s in reg1 f 0x1f ) 0x31 hou t size 0xa0 r w dsp h output size 8msb h output size = {houtsi z e[7:0] ( 0x 3 1 ) , reg3 4 [ 2:1] ( 0x 3 4 ) } 0x32 voutsi z e 0x f 0 r w dsp v output size 8msb v o u tput size = {vou t s i z e[7:0] ( 0x32 ) , reg3 4 [ 0] ( 0x34 ) } 0x33 rsvd ? ? res e rved table 7-1 system control registers ( shee t 5 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x34 reg34 0 x00 r w b i t[7:3]: res e rved b i t[2]: dsp h output size 2 l s bs b i t[0]: dsp v output size 1 lsb 0x35~ 0x37 rsvd ? ? reserved 0x38 reg38 0 x10 r w b i t [ 7:4]: r es e r ved b i t[3:0]: monitor[3:0] i2 c regist e r s sub - address c o ntrol bi t s 0x39~0x4f rsvd ? ? reserved 0x50 reg50 0 x2e r w ls b s of ban d ing s t ar t i ng s t ep fo r 50 hz light source ( msbs i n reg5 2 [ 5:4] ( 0 x 52 ) ) 0x51 reg51 0 x f c r w ls b s of ban d ing s t ar t i ng s t ep fo r 60 hz light source ( msbs i n reg5 2 [ 7:6] ( 0 x 52 ) ) 0x52 reg52 0 x10 r w b i t[7:6]: m s bs of b andi n g s t arting step for 6 0 hz light so u r ce ( lsbs in reg5 1 ( 0x51 ) ) b i t[5:4]: m s bs of b andi n g s t arting step for 5 0 hz light so u r ce ( lsbs in reg5 0 ( 0x50 ) ) b i t[3:0]: res e rved 0x53~ 0x55 rsvd ? ? reserved 0x56 reg56 0 x f f r w 16-zone y a v e r age select ( f or long exp o su r e in hdr ) in each zo n e : 00: not selected 01: w e ight x1 10: w e ight x2 1 1 : w eight x4 b i t[7:6]: zone 4 b i t[5:4]: zone 3 b i t[3:2]: zone 2 b i t[1:0]: zone 1 0x57 0x f f r w in each zo n e : 00: not selected 01: w e ight x1 10: w e ight x2 1 1 : w eight x4 b i t[7:6]: zone 8 b i t[5:4]: zone 7 b i t[3:2]: zone 6 b i t[1:0]: zone 5 table 7-1 s y stem cont r o l r egiste r s ( s hee t 6 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-7 0x58 0x f f r w in each zo n e : 00: not selected 01: w e ight x1 10: w e ight x2 1 1 : w eight x4 bit[7:6]: z one 12 bit[5:4]: z one 1 1 bit[3:2]: z one 10 bit[1:0]: z one 9 0x59 0x f f r w in each zo n e : 00: not selected 01: w e ight x1 10: w e ight x2 1 1 : w eight x4 bit[7:6]: z one 16 bit[5:4]: z one 15 bit[3:2]: z one 14 bit[1:0]: z one 13 0x5a~ 0x62 rsvd ? ? re s e rved 0x63 0x00 r w lumin a n ce a v erage v a lue of o ne z o ne. this zone w a s selecte d by mo n i to r [ 3:0] in reg3 7 [ 3:0] ( 0x 3 8 ) 0x64 rsvd ? ? res e rved 0x65 0x00 r w bit[7:4]: r e s e rved bit[3]: outpu t da t a bit s w ap option 0: outp u t d a t a [9: 0 ] 1: outp u t d a t a [0: 9 ] bit[2]: r e s e rved bit[1]: gpio register for pi n href bit[0]: gpio register for pi n v sync 0x66 0x00 r w a w b bias 0x67 0x80 r w bit[7:6]: r e s e rved bit[5:0]: bl c t a rg e t 0x68 rsvd ? ? res e rved 0x69 0x00 r w bit[7:4]: r e s e rved bit[3]: mblc when settin g this bit t o 1, auto blc will b e ini t iated f o r 64 f r ames bit[2:0]: r e s e rved 0x6a 0x00 r w ls b s of blc o f fse t s for gr ch a nnel table 7-1 system control registers ( shee t 7 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x6b 0x00 r w ls b s of bl c o f fse t s for gb chan n el 0x6c 0x00 r w ls b s of bl c o f fse t s for r c hannel 0x6d 0x00 r w ls b s of bl c o f fse t s for b cha n nel 0x6e 0x00 r w b i t[7:6]: m s bs of blc o f fse t s for gr chan n el b i t[5:4]: m s bs of blc o f fse t s for gb chan n el b i t[3:2]: m s bs of blc o f fse t s for r chan n el b i t[1:0]: m s bs of blc o f fse t s for b chan n el 0x6 f ~ 0x7f rsvd ? ? reserved 0x80 isp c t rl00 0x7f r w b i t[7]: res e rved b i t[6]: black_en 0: disabl e black pixel cor r ec t i on 1: enable black pixel cor r ec t i on b i t[5]: whit e _en 0: disabl e whi t e pixel cor r ec t i on 1: enable white pixel cor r ec t i on b i t[4]: awb_c_en 0: disabl e a w b 1: enable a w b b i t[3]: gamma_en 0: disabl e gamma 1: enable gamma b i t[2]: awb_gain_en 0: disabl e a w b gain 1: enable a w b gain b i t[1]: lenc_en 0: disabl e lenc 1: enable lenc b i t[0]: isp_en 0: disabl e isp 1: enable isp table 7-1 s y stem cont r o l r egiste r s ( s hee t 8 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-9 0x81 isp c t rl01 0x3f r w bit[7:6]: r e s e rved bit[5]: sde_en 0: disable s d e 1: enable sde bit[4]: u v _adj_en 0: disable uv adj u s t 1: enable uv adjust bit[3]: yuv422_en 0: disable yuv444to4 2 2 1: enable yuv 4 44to422 bit[2]: u v _avg_en 0: disable uv ave r age 1: enable uv average bit[1]: cmx_en 0: disable cmx 1: enable cmx bit[0]: cip_en 0: disable cip 1: enable cip 0x82 isp c t rl02 0x32 r w bit[7:6]: r e s e rved bit[5]: yavg_en 0: disable y aver a g e 1: enable y av e r age bit[4] : fifo_en 0: disable fifo 1: enable f i fo bit[3] : scale_v_en 0: disable ve r t ical scale 1: enable vertic a l sc a l e bit[2] : scale_ h _en_reg 0: disable horizo n t a l s c a l e 1: enable ho r izon t al scale bit[1] : w i nc_en 0: disable win d ow cropping 1: enable window cropping bit[0]: smthscale_en 0: disable smoot h scale 1: enable smooth scale table 7-1 system control registers ( shee t 9 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x83 isp c t rl03 0x09 r w b i t[7:6]: res e rved b i t[5]: video_o f f 0: n o rmal outpu t s 1: n o outpu t s b i t[4]: yavg_yuv _ m ode 0: yavg i n pu t s a r e r a w da t a 1: yavg i n pu t s a r e y of yuv422 b i t[3]: yavg_a f t_ w b c 0: inp u t s o f yavg come f r om awb_g a in 1: inp u t s o f yavg come from wbc b i t[2]: raw_a f t_cip 0: the output r a w da t a a r e from wbc 1: the output r a w da t a a r e the cip output r a w da t a b i t[1]: awb2_a f t _ gma 0: second inpu t s of a w b s t atistic are t h e inp u t s of gma 1: second inpu t s of a w b s t atistic are t he outpu t s of gma b i t[0]: s2p_fst_ r blue 0: f i r s t line of s2p is gr l i ne 1: f i r s t line of s2p is bg l i ne table 7-1 s y stem cont r o l r egiste r s ( s hee t 10 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-11 0x84 sub add r ess: 0x38[3:0]=4?h0 bist ctrl 0 x 00 r w bit[7:6]: r e s e rved bit[5]: b i st_en when set, sram bist will be d one bit[4]: p w rdn_fifo when set, fi f o sram will be r e s e t bit[3]: p w rdn_scale _ v when set, scale_v sram w i ll b e r e s e t bit[2]: p w rdn_cip when set, cip sram will be r e s e t bit[1]: p w rdn_ w bc when set, wbc sram will b e r e s e t bit[0]: p w rdn_ a wb when set, a w b sram will b e r e s e t table 7-1 system control registers ( shee t 11 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h1 bias ctrl 0 x f0 r w b i t[7]: cmx_bias_on 0: cmx bias is 0 1: cmx bias is the c m x o f fset b i t[6]: gma_bias_on 0: gamma bias is 0 1: gamma bias is the gamm a o f fset b i t[5]: awb_bias _ o n 0: a w b bias is 0 1: a w b bias is the a w b o f fset b i t[4]: lenc_bias _ o n 0: len c bias is 0 1: len c b i as is the lenc o f fset b i t[3]: cmx_o f f_man_en 0: cmx o f fset is th e b l c 1: cmx o f fset is man u al o f fset b i t[2]: gma_o f f_man_en 0: gamma o f fset is the blc 1: gamma o f fset is man u al o f fset b i t[1]: awb_o f f_man_en 0: a w b o f fse t is the blc 1: a w b o f fse t is manual o f fset b i t[0]: lenc_o f f_man_en 0: len c o f fset is the blc 1: len c o f fset is manual o f fset 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h2 len c o f f man 0x00 r w lenc_o f f_man manual o f fset fo r lenc 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h3 a w b o f f m a n 0 x 0 0 r w awb_o f f_man manual o f fset fo r a w b 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h4 gma o f f man 0 x 0 0 r w gma_o f f_man manual o f fset fo r g m a 0x84 sub add r ess: 0x38[3:0 ] = 4 ?h5 c m x o f f man 0 x00 r w cmx_o f f_man manual o f fset fo r cmx table 7-1 s y stem cont r o l r egiste r s ( s hee t 12 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-13 0x84 sub add r ess: 0x38[3:0]=4?h6 roreg addr 0x00 r isp_ro r eg_add r ess read- o n ly registers' a d dress 0x84 sub add r ess: 0x38[3:0]=4?h7 pre c t rl00 0x00 r w bit[7:5]: r e s e rved bit[4]: b a r_move when it is set, t h e color b a r is m o ving colo r ba r . bit[3]: r e s e rved bit[2]: r b lue_inv when i t is s e t, the rblue signal will be i n ve r s ed bit[1]: b a r_en 0: dsp pre out p u t no r mal d a t a 1: dsp pre out p u t c o l o r bar bit[0]: sht_n e g 0: latch da t a at rising cl o c k edge 1: latch da t a at falling cl o c k edge 0x84 sub add r ess: 0x38[3:0]=4?h8 pre c t rl01 0x00 r w bit[7:6]: r e s e rved bit[5:4]: b a r_style s t yle of the outp u t color bar bit[3:0]: b a r_step s t e p of the outpu t color b a r 0x85 agc of f s et 0x00 r w bit[7:0]: o f fs e t for dsn_th a u to value 0x86 agc base1 0 x 1e r w bit[7:5]: r e s e rved bit[4:0]: b a se1 base 1 for y_edge_mt auto value. 0x87 agc base2 0 x 02 r w bit[7:5]: r e s e rved bit[4:0]: b a se2 base 2 for y_edge_mt auto value. it plays i t s role with b a se1 . it mus t be less than b a se1. table 7-1 system control registers ( shee t 13 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x88 agc c t rl 0x00 r w b i t[7]: res e rved b i t[6]: gain_sel_en 0: gain r a nge will b e max. value 1: gain rang e will be the r e sult of g a in_sel b i t[5:4]: gain_sel t o decide the range of gain which is used to calc u l ate the dns threshold. the gain range is the r e sult of 2^ ( gain_sel+3 ) b i t[3:2]: dns_t h _ sel decid e th e g a in which is u s ed to calculat e the dns threshold. new g a in is the result o f gain divi d i ng by 2^dns_th_sel b i t[1:0]: edge_mt_ r ange t o decide the value which is used t o calculat e the edge enhancement 0x89 len c ct r l 0x30 r w b i t[7:6]: res e rved b i t[5]: lenc_bias _ p lus 0: len c bias will be n o t ad d ed back to lenc-cor r e cted da t a 1: len c bias will be ad d ed back to lenc_co r rected da t a b it [ 4]: r nd_en 0: disabl e da t a r o und 1: enable da t a round b i t[3:2]: v_skip v e r t ical skip and i t s ski p ste p is 2^ ( the n u mber set in v_skip ) b i t[1:0]: h_skip ho r i zon t al ski p and i t s skip step is 2^ ( t he numbe r s e t in h_skip ) table 7-1 s y stem cont r o l r egiste r s ( s hee t 14 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-15 0x8a len c red x0 0x40 r w bit[7:0]: r ed_x0[7:0] red_x0 is h o rizon t al cente r p o sition in re d color channels, it should be fixed as th e h o rizon t al p o sitio n of im a ge w h ich come from the middle o f lens, so it is usually set as the h o rizon t al p o sitio n of mi d d le p i xel of each imag e . range f r om 0 to 6 3 9. se e lenc r e d xy0 [1:0] ( 0x8c ) 0x8b len c red y0 0x f 0 r w bit[7:0]: r ed_y0[7:0] red_y0 is ve r t ical cent e r p o sition in re d color channels, it should be fixed as th e ve r t ical position of image w h ich come from the middle o f lens, so it is usually set as the ve r t ical position of middle p i xel of each imag e . range f r om 0 to 6 3 9. se e lenc r e d xy0 [4] ( 0x8c ) 0x8c len c red xy0 0x01 r w bit[7:5]: r e s e rved bit[4]: r ed_y0[8] se e lenc r e d y0 [7:0] ( 0x8a ) bit[1:0]: r ed_x0[9:8] se e lenc r e d y0 [7:0] ( 0x8b ) 0x8d len c red a1 0x22 r w bit[7]: r e s e rved bit[6:0]: r ed_a1 the p a ramete r const r uct the f i rst g r oup of factors used in l e n c corr e ction in red color chann e ls. 0x8e len c red b1 0x c 2 r w bit[7:0]: r ed_b1 lenc cor r ection in r e d color chann e ls. table 7-1 system control registers ( shee t 15 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x8f len c red ab2 0x87 r w b i t[3:0]: red_a2 the p a ramet e r const r uct the fi r s t g r oup of facto r s used in lenc corr e ction in red color chan n els. b i t[7:4]: red_b2 the p a ramet e r const r uct the second g r oup of facto r s used in l e n c cor r ection in r ed col o r chan n els. 0x90 len c g r n x0 0x40 r w b i t[7:0]: grn_x0[7:0] grn _ x0 is horizo n t a l cente r position in green color chan n els, it sh o u ld b e fixed as the horizon t alposition of image w h ich come fr o m the middle of lens, so it is u s ually set as the h o rizon t al positio n of middle pixel of eac h image. range f r om 0 to 639. s e e lenc gr n xy0 [1:0] ( 0x92 ) 0x91 len c g r n y0 0x f 0 r w b i t[7:0]: grn_y0[7:0] grn _ y0 is ve r t ical cen t er position in green color chan n els, it sh o u ld b e fixed as the v e rtical position of image which come from the middle of lens, so it is usually set as the ve r t ical position of middl e pixel of each ima g e. range from 0 to 6 39. s e e lenc gr n xy0 [4] ( 0x92 ) 0x92 len c g r n xy0 0x01 r w b i t[7:5]: res e rved b i t[4]: grn_y0[8] s e e lenc gr n y0 [7:0] ( 0x91 ) b i t[1:0]: grn_x0[9:8] s e e lenc gr n x0 [7:0] ( 0x90 ) 0x93 len c g r n a1 0x22 r w b i t[7]: res e rved b i t[6:0]: grn_a1 the p a ramet e r const r uct the fi r s t g r oup of facto r s used in lenc corr e ction in gree n color channels. table 7-1 s y stem cont r o l r egiste r s ( s hee t 16 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-17 0x94 len c g r n b1 0x c 2 r w bit[7:0]: g r n_b1 lenc cor r ection in g r een color channels. 0x95 len c g r n ab2 0x87 r w bit[7:4]: g r n_b2 the p a ramete r const r uct the second g r oup of factors used in len c co r r ecti o n in g r een color channels. bit[3:0]: g r n_a2 the p a ramete r const r uct the f i rst g r oup of factors used in l e n c corr e ction in green color channels. 0x96 len c blue x0 0x40 r w bit[7:0]: b l u_x0[7:0] bl u _ x0 is horiz o n t a l cent e r p o sition in b l ue color chann e ls, it sho u ld b e fixed as t he horizon t alposition of image w h ich come from the middle of lens, so it is usually set as the h o rizon t al position o f middle pixel of each image. r ange f r om 0 to 639. se e lenc b l ue xy0 [1:0] ( 0x98 ) 0x97 len c blue y0 0x f 0 r w bit[7:0]: b l u_y0[7:0] bl u _ y0 is ve r t ical c e nter p o sition in b l ue color chann e ls, it sho u ld b e fixed as t he ve r t ical position of image w h ich come from the middle o f lens, so it is usually set as the ve r t ical position of middle p i xel of each imag e . range f r om 0 to 6 3 9. se e lenc b l ue xy0 [4] ( 0x98 ) 0x98 len c blue xy0 0x01 r w bit[7:5]: r e s e rved bit[4]: b l u_y0[8] se e lenc b l ue y0 [7: 0 ] ( 0x97 ) bit[3:2]: r e s e rved bit[1:0]: b l u_x0[9:8] se e lenc b l ue x0 [1: 0 ] ( 0x96 ) table 7-1 system control registers ( shee t 17 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0x99 len c blue a1 0x22 r w b i t[7]: res e rved b i t[6:0]: blu_a1 the p a ramet e r const r uct the fi r s t g r oup of facto r s used in lenc co r r ection in blue color chan n els. 0x9a len c blue b1 0x c 2 r w b i t[7:0]: blu_b1 lenc corr e ction in blue color chan n els. 0x9b len c blue ab2 0x87 r w b i t[7:4]: blu_b2 the p a ramet e r const r uct the second g r oup of facto r s used in len c co r r ection in blue color channels. b i t[3:0]: blu_a2 the p a ramet e r const r uct the fi r s t g r oup of facto r s used in lenc co r r ection in blue color chan n els. 0x9c gma yst01 0x0e r w y s t 1 y - coo r di n a te of pixels in t he gamma curve 0x9d gma yst02 0x1a r w y s t 2 y - coo r di n a te of pixels in t he gamma curve 0x9e gma yst03 0x31 r w y s t 3 y - coo r di n a te of pixels in t he gamma curve 0x9f gma yst04 0x5a r w y s t 4 y - coo r di n a te of pixels in t he gamma curve 0xa0 gma yst05 0x69 r w y s t 5 y - coo r di n a te of pixels in t he gamma curve 0xa1 gma yst06 0x75 r w y s t 6 y - coo r di n a te of pixels in t he gamma curve 0xa2 gma yst07 0x7e r w y s t 7 y - coo r di n a te of pixels in t he gamma curve 0xa3 gma yst08 0x88 r w y s t 8 y - coo r di n a te of pixels in t he gamma curve 0xa4 gma yst09 0x8f r w y s t 9 y - coo r di n a te of pixels in t he gamma curve 0xa5 gma yst10 0x96 r w y s t 1 0 y - coo r di n a te of pixels in t he gamma curve 0xa6 gma yst 1 1 0 x a3 r w y s t 1 1 y - coo r di n a te of pixels in t he gamma curve table 7-1 s y stem cont r o l r egiste r s ( s hee t 18 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-19 0xa7 gma yst12 0 x af r w y s t 1 2 y - coo r di n a te of pixels in t h e gamma curve 0xa8 gma yst13 0 x c4 r w y s t 1 3 y - coo r di n a te of pixels in t h e gamma curve 0xa9 gma yst14 0 x d7 r w y s t 1 4 y - coo r di n a te of pixels in t h e gamma curve 0xaa gma yst15 0 x e8 r w y s t 1 5 y - coo r di n a te of pixels in t h e gamma curve 0xab gma yslp 0 x 2 0 r w y s lp15 s l ope's slope of pix e ls i n the gamma cu r v e w hen i t s x-coo r din a te is 1.0 0xac~ 0xc2 rsvd ? ? re s e rved 0xc3 wbc c t rl00 0x1e r w bit[7:6]: r e s e rved bit[5:0]: mirror mo d e 0xc4 wbc c t rl01 0x03 r w bit[7]: r e s e rved bit[6:4]: g a in[1 0 : 8] manual ag c gai n setting fo r wbc, see wbc g a in m a n [7:0] ( 0xc5 ) bit[3]: g a in_m a n_en 0: use th e r eal agc gain in wbc 1: use manual agc gain in wbc bit[2:0]: shi f t right s h i f t f o r gain value 0xc5 wbc gain man 0 x10 r w bit[7:0]: g a in[7 : 0 ] manual ag c gai n setting fo r wbc, see wbc c t r l 01 [6:4] ( 0xc4 ) 0xc6 wbc white threshold 0x08 r w bit[7]: r e s e rved bit[6:0]: w t hre th r e sh o l d value for d e tecting w h i t e p i x e l 0xc7 wbc black threshold 0x10 r w bit[7:0]: b t hre th r e sh o l d value for d e tecting b l ack p i xel 0xc8 wbc recov threshold 0x0c r w bit[7:0]: t h re th r e sh o l d value used i n r e c o v e ry table 7-1 system control registers ( shee t 19 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0xc9 wbc s threshold 0x08 r w b i t[7]: res e rved b i t[6:0]: sthre 0xca wbc_ c t rl02 0x6f r w b i t[7:5]: gainb d _pwr set gainbd_times a s 2^gainbd_p w r b i t[4:2]: refgain_pwr set ref g ain_times as 2^ r e fgai n _pwr b i t[1:0]: bd_s e l bounda r y select o p tions 0xcb c i p d n s t h re s h man 0x08 r w b i t[7:0]: dns_t h _ man manual s e tting for de - noise 0xcc c i p c t rl 0x04 r w b i t[7]: res e rved b i t[6]: edge_mt_man_ e n manual mode fo r edge enhancement setti n g b i t[5]: dns_t h _ man_en manual mode fo r de-n o ise setting b i t[4:0]: y_ed g e_mt_man manual s e tting for edge enhancement 0xcd c i p e d ge threshold 0x06 r w b i t[7:4]: res e rved b i t[3:0]: y_ed g e_th edge enha n cemen t threshold 0xce c m x m1 0x41 r w c m x _ m 1 a b solute value se t t ing f o r color matrix to calculate v 0xcf c m x m2 0x3c r w c m x _ m 2 a b solute value se t t ing f o r color matrix to calculate v 0xd0 c m x m3 0x06 r w c m x _ m 3 a b solute value se t t ing f o r color matrix to calculate v 0xd1 c m x m4 0x17 r w c m x _ m 4 a b solute value se t t ing f o r color matrix to calculate u 0xd2 c m x m5 0x3a r w c m x _ m 5 a b solute value se t t ing f o r color matrix to calculate u 0xd3 c m x m6 0x52 r w c m x _ m 6 a b solute value se t t ing f o r color matrix to calculate u table 7-1 s y stem cont r o l r egiste r s ( s hee t 20 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-21 0xd4 cmx c t rl 0x5e r w bit[6]: cmx_db bit[5:0]: cmx_sign sign f o r cmx m1 ( 0xce ) t o c m x m 6 ( 0x d 3 ) 0xd5 scale smth c t rl 0x10 r w bit[7:6]: r e s e rved bit[5]: scal e _siz e _ res t art when i t is s e t, res t ar t the smooth scale p r oc e dure if size setting is changed bit[4]: scal e _zoom _ m ode 0: zoom in mode 1: zoom out m o de bit[2:0]: scal e _step _ num t o decide ho w many ste p s to d o smo o th scale. the la r ger t he valu e is set, the slo w er t he smooth scal e moves 0xd6 rsvd ? ? res e rved 0xd7 scaleh xsc man 0x00 r w bit[7:0]: xsc_m a n [7:0] manual v a lue of horizo n t a l scal e coe f ficient, see 0 x d 8 [2:0] also 0xd8 scaleh ctrl 0 x 04 r w bit[7]: h _drop 0: a v erage m o de for d c w 1: drop mo d e for d c w bit[6]: scal e _man 0: a u t o mode 1: manual mode bit[5:4]: h _div_man manual div val u e bit[3]: h _ round bit[2:0]: xsc_m a n [10:8] se e scaleh xs c man [7:0] ( 0xd7 ) 0xd9 yuv422 ctrl 0x00 r w bit[7:2]: r e s e rved bit[1]: v_first 0: output li n e will be yuy v ... 1: output li n e will be yvyu... ( it will a f fect definitio n of u/v in sde. if it i s s e t, a l l r e g i ste r s in sde about u/v must be swappe d . ) bit[0]: cnv_opt 0: a v e r age mode 1: d r op mode table 7-1 system control registers ( shee t 21 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0xda sde c t rl 0x00 r w b i t[7]: fixy _ e n when it is set, the output y will be a fixed value. b i t[6]: neg_en 0: disabl e negative color e f fect 1: enable neg a tive colo r e f fect b i t[5]: gray_en 0: disabl e gray e f fect 1: enable g r ay e f fect b i t[4]: fixv _ e n when it is set, the output v will be the valu e set in r egister sde_vr e g ( 0xe0 ) b i t[3]: fixu_en when it is set, t h e o u tput u w i ll be the valu e set in r egister sde_ u reg ( 0 x d f ) b i t[2]: cont_ e n 0: disabl e cont r a st/ o f fset/brightness 1: enable contrast/ o f fset/brightness b i t[1]: sat_en 0: disabl e satu r a tion e f fect 1: enable satura t i on e f fect b i t[0]: hue_en 0: disabl e hue e f fect 1: enable hue e f fect 0xdb sde hue cos 0 x 8 0 r w b i t[7:0]: hue_cos cosin e value fo r hue e f fect 0xdc sde hue sin 0 x 0 0 r w b i t[7:0]: hue_sin sin e value fo r hue e f fect 0xdd sde u s a t 0x40 r w b i t[7:0]: sat_u enhancement fo r u value in satu r a tion e f f e ct 0xde sde vs a t 0 x 4 0 r w b i t[7:0]: sat_v enhancement fo r v value in satu r a tion e f f e ct 0xdf sde ureg 0 x 80 r w b i t[7:0]: u_reg u val u e for fix e d u e f fect 0xe0 sde vreg 0 x 80 r w b i t[7:0]: v_reg v v a lue fo r fixed v e f fect table 7-1 s y stem cont r o l r egiste r s ( s hee t 22 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-23 0xe1 sde yoffs e t 0 x 0 0 r w bit[7:0]: y_o f fset y value fo r fixed y e f fect o r the o f fset valu e for contr a st e f fect 0xe2 sde ygain 0 x 2 0 r w bit[7:0]: y_gain g a in in contract e f fect 0xe3 sde ybright 0 x 00 r w bit[7:0]: y_bright brightness in b r ightness e f fect 0xe4 sde sgnset 0 x 06 r w bit[7:6]: r e s e rved bit[5:0]: sgnset 0xe5 scalev ctrl 0 x 0c r w bit[7]: m a nual _ m ode bit[6:4]: d r op_o f fset o f fs e t for d c w drop mode bit[3]: d r op_mode manual dcw d r op mode setting bit[2]: zoom_2 r am_mode manual ram mo d e setting bit[1:0]: v_div maunal div val u e for d c w 0xe6 v ap c t rl 0x10 r w bit[7:5]: r e s e rved bit[4]: vap_me a n 0: no mean fo r s u m 1: mean for sum bit[3:2]: r e s e rved bit[1]: g _drop 0: s u m m ary mode 1: drop mo d e bit[0]: b r _drop 0: s u m m ary mode 1: drop mo d e 0xe7 f i fo ct r l 0x00 r w bit[ 7 :6]: r e s e rved bit[5:4]: f i fo_speed s pe e d for f i fo da t a o u tput bit[3]: f i fo_valid_m o d e 0: href mode 1: v a lid mode bit[2]: f i fo_man manual mo d e fo r f i fo setting bit[1:0]: f i fo_o p t o f fset adjus t m ent for f i fo d e l a y 0xe8 f i fo del a y 0 x00 r w bit[7:0]: f i fo_d e lay manual s e tting f o r fi f o del a y 0xe9 y a v g blk thre 0 x 00 r w bit[7:0]: b l k_thresh th r e sh o l d fo r blackness table 7-1 system control registers ( shee t 23 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h0 y a v g b r t t hre 0x00 r w b i t[7:0]: brt_thresh th r e s h old f o r brightness 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h1 ya v g h o f f l 0 x 0 0 r w yavg_winofh b i t[7:0]: horiz o n t al o f fset fo r window c r oppi n g in y a v g . 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h2 ya v g v o f f l 0 x 0 0 r w yavg_winofv b i t[7:0]: v e r t ical o f fset fo r window c r oppi n g in y a v g 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h3 y a v g c t rl 0x00 r w b it [ 7:6]: r es e r ved b i t[5]: yavg_win_man 0: window will be t h e def a u lt w i ndow 1: window will be t h e windo w set b y the r egiste r s b i t[4]: yavg_winofv[8] see y a v g v o f f l ( 0 x e 9 , 0x38[ 3 : 0] = 4'h2 ) b i t[3:2]: res e rved b i t[1:0]: yavg_winofh[9: 8 ] see y a v g h o f f l ( 0 x e 9, 0x38[ 3 : 0] = 4'h1 ) 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h4 ya v g h s i z e 0 x 0 0 r w b i t[7]: res e rved b i t[6:0]: yavg_winh ho r i zon t al size of cropping win d o w . it will be multiplied by 8 to be r e al size. 0xe9 sub add r ess: 0x38[3:0 ] = 4 ?h5 y a v g vsize 0x00 r w b i t[7]: res e rved b i t[6:0]: yavg_winv v e r t ical size of cropping win d o w . it will be multiplied by 4 to be r e al size. 0xea~ 0xeb rsvd ? ? reserved table 7-1 s y stem cont r o l r egiste r s ( s hee t 24 of 25 ) a ddress r e g i st e r n a me defau l t value r/w description free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 7-25 0xec regec 0 x00 r w bit[7]: b d 50auto 0: s e lect banding filte r for 50 hz manu a lly ( r e gec [6] ( 0xec ) ) 1: s e lect banding filte r for 50 hz by 50/60 a u to detection bit[6]: mban d 5 0 0: s e lect ban d ing filter s t ep fo r 60 hz 1: s e lect ban d ing filter s t ep fo r 50 hz 0xed rsvd ? ? re s e rved 0xee regee r egiste r for gro u p latch function 0xef otp c t rl o t p contr o l re g i ster 0xf0~ 0xff otp 16 bytes fo r otp table 7-1 system control registers ( shee t 25 of 25 ) a d dress r e g i s t er n a me defau l t v a lue r/w description free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 8-1 8 e lectrical specifications table 8-1 ab s o l u te m a x i m u m r a tings p a rameter abso l ute m a ximum rati n g a a. exceedi n g th e absolute maximum rat i ngs shown above invalid a tes all ac and dc el e c t r ical specific a t ions and may r e sult in perma n ent d a mage to the device. exposure t o absolute maximum rate d conditions for exte n ded p e riods may affect device r e liability. ope r ating tempe r ature r ange b b. sensor functions but im a ge quality may be notic e ably different at temper a t ures outside of st a b le image r ange -30 c to +70c s t able image tempe r ature r ange c c. image quality r e mai n s stable thro u ghout this t e mperatu r e ra n g e -40 c to +125c supply vol t age ( w it h respect to grou n d ) v dd - a 4.5v v dd - io 4.5v electro - s t atic discharge ( esd ) human body model 2000v machin e model 200v all input/ou t put vol t ages ( with respect to groun d ) - 0.3v to v dd- i o + 1v i/o cur r ent on any input or o u tput pin 200 ma peak solder temperat u r e ( 10 sec o nd dwell tim e ) 245c free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 table 8-2 dc cha r ac t e ristics ( - 30c < t a < 70c ) symbol p a rameter min typ max un i t supply v dd-a supply vol t age ( anal o g ) 3 .14 3 .3 3.47 v v dd- i o supply vol t age ( d igi t al i/o ) 1 .7 1.8 3 .47 v i dd-a active ( operating ) cu r r ent tbd 2 5 t bd ma i dd- i o tbd 2 5 t bd ma i dds-sccb s t andby cur r ent tbd 2 2 t bd ma i dds-pwdn tbd 2 2 t bd a d i gi t a l i n pu t s ( typica l c o nditi o n s: a v dd = 2.8 v , d o vdd = 1.8v ) v il input vol t age low 0 .8 tbd v v ih input vol t age high tbd 1 .0 v c in input ca p a cit o r 1 0 p f d i gi t a l o u t p u t s ( s t a ndar d l oad i ng 25 p f ) v oh out p u t vol t age high 1.62 1.43 v v ol out p u t vol t age low 0 .12 0 .18 v ser i al interface in p u t s v il a a. based o n dov d d = 1.8v. sioc and siod -0.5 0 0 .54 v v ih a sioc and siod 1.26 1.8 2 .3 v free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 8-3 table 8-3 a c cha r acte r i stics ( t a = 25c, v dd - a = 3.3 v , v d d - i o = 1.8v ) symbol p a rameter min typ max u n it adc p a r a meters b analog bandwi d th 12 mhz d l e dc di f f erential linearity er r o r < 0.5 l sb ile dc integ r al li n earity e r ror < 0.5 l sb se t t ling time for so f t w a re r e set < 1 m s se t t ling time for r e s o lution mode change <1 ms se t t ling time for r egiste r set t ing < 300 ms table 8-4 timing cha r ac t e ristics symbol p a rameter min typ max u n it oscillator and clock input f osc frequ e ncy ( xvclk1 ) 6 2 4 2 7 m hz t r , t f clock input r i se/fall time 5 ( 10 a ) a. if using t h e int e rnal pll ns free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 9-1 9 m echanical specifications 9.1 physical specifications figure 9-1 package specifications table 9-1 package dimensions ( shee t 1 of 2 ) p a rameter symbol min typ m a x unit p a ckage body dimension x a 4160 4185 4210 m p a ckage body dimension y b 4320 4345 4370 m p a ckage height c 720 780 840 m ball heig h t c 1 130 160 190 m p a ckage body thickness c 2 575 620 665 m cover glass thickness c 3 390 400 410 m airga p betwe e n cov e r glass and sensor c 4 37 41 45 m ball diam e t er d 270 300 330 m 1 2 3 4 5 6 56 4 3 2 1 a b c d e f a a b c d f e j1 s1 b j2 c2 c1 glass die c c4 c3 s2 center of bga ( die ) = center of the package bottom vi e w ( bumps up ) top vi e w ( bumps d o wn ) side vi e w d y c z d x b w a 7740_ds_csp_9_1 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 to t a l pin count n 3 2 pin count x-axis n 1 6 pin count y-axis n 2 6 pins pitch x-axis j1 610 m pins pitch y-axis j2 630 m ed g e-to - p in cente r dis t ance an a log x s 1 538 568 598 m ed g e-to - p in cente r dis t ance an a log y s 2 568 598 628 m table 9-1 package dimensions ( sheet 2 of 2 ) p a rameter symbol min typ m a x un i t free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 9-3 9.2 ir refl o w specifications figure 9-2 i r r e f l o w r a m p r a t e r e q u i r e m e n t s note t he ov7 7 40 us e s a lead fr e e p a ckag e . table 9-2 refl o w conditions co n d ition e x posure aver a ge ramp - up rat e ( 30 c to 217 c ) less th a n 3c p e r seco n d > 100 c b e t ween 330 - 600 seconds > 150 c a t least 210 seconds > 217 c a t least 30 seconds ( 30 ~ 120 seconds ) peak temp e r atu r e 2 4 5 c cool-dow n rate ( peak to 50c ) less th a n 6c p e r seco n d time fr o m 30c to 245c n o greate r than 390 seconds time ( sec ) temper ature ( c ) -22 -2 18 38 58 78 98 118 138 158 178 358 338 318 298 278 258 238 218 198 369 0.0 300.0 280.0 220.0 240.0 260.0 200.0 180.0 140.0 160.0 120.0 100.0 80.0 60.0 40.0 20.0 z1 z2 z3 z4 z5 z6 z7 end 7740 ds 9 2 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 10-1 10 optical specifications 10.1 sensor ar r ay center figure 10-1 se n s o r a r r a y c e nter package center ( 0 m, 0 m ) ar r ay center ( 170 m, 410 m ) o v 7740 note 1 this d r awing is not to scale and is for reference only. note 2 as most optical assemblies in v ert and mirror the image, the chip is typically mounted with pins a1 to a6 oriented d o wn on the pcb. top vi e w sensor ar r ay a1 a2 a3 a4 a5 a6 2756 m 2050 m first pi x el readout ( 1548 m, 1435 m ) 7740_ds_csp_10_1 free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 10.2 lens chief r ay angle ( cra ) figur e 10-2 chief r a y angle ( cra ) table 10-1 cra v e rsus image h e igh t plot ( sheet 1 of 2 ) fie l d ( % ) i m a ge he i ght ( mm ) cra ( degree s ) 0 0 . 000 0 . 0 0. 0 5 0 . 084 2 . 4 0.1 0 . 168 4 . 9 0. 1 5 0 . 252 7 . 3 0.2 0 . 336 9 . 7 0. 2 5 0 . 420 1 2 .0 0.3 0 . 504 1 4 .3 0. 3 5 0 . 588 1 6 .6 0.4 0 . 672 1 8 .7 0. 4 5 0 . 756 2 0 .7 0.000 0.084 0.168 0.252 0.336 0.420 0.504 0.588 0.672 0.756 0.840 0.924 1.008 1.092 1.176 1.260 1.344 1.428 1.512 1.596 1.680 -5.0 0.0 5.0 10.0 15.0 20.0 30.0 25.0 35.0 max ( -4 ) image height ( mm ) cra ( degree ) cra max ( +4 ) 7740_ds_10_2 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies 10-3 0.5 0 . 8 40 2 2 .4 0.55 0. 9 2 4 2 4 . 0 0.6 1 . 0 08 2 5 .1 0.65 1. 0 9 2 2 5 . 9 0.7 1 . 1 76 2 6 .0 0.75 1. 2 6 0 2 6 . 0 0.8 1 . 3 44 2 6 .0 0.85 1. 4 2 8 2 6 . 0 0.9 1 . 5 12 2 6 .0 0.95 1. 5 9 6 2 5 . 9 1 1 . 6 80 2 5 .9 table 10-1 cra v e rsus image heigh t plot ( shee t 2 of 2 ) fie l d ( % ) i m a ge he i ght ( mm ) cra ( degrees ) free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies re v - 1 r e vision history v e r s ion 1.0 04.1 8 .2008 ? i n i tial r e lease v e r s ion 1.1 05.0 9 .2008 ? i n chap t er 4, section 4 - 2 test p a tte r n updat e d the desc r ip t i on f r om ? f or testing pur p o ses, the OV7740 o f fe r s one type o f test p a tter n , color b a r . ? changed t o ?fo r testin g purposes, the OV7740 o f fe r s one type p f test p a tte r n : colo r ba r . th e r e a r e 4 modes of the color ba r ( see figure 4 - 2 ) . t he mod e s of t h e color bar can be set with the r egiste r 0x 8 4 [5:4] ( b a se a d dress: 0 x 38[ 3 : 0] = 4'h8 ) . in each mode the color bar can b e moved from top t o bottom if the bar moving functio n is enabled by setting signal ( 0 x84[4]: b a se add r ess: 0 x 38[ 3 : 0] = 4'h7 ) is 1. the moving ste p can b e configured by setting the r egister 0x84 [ 3:0] ( base add r es s: 0x38[3:0 ] = 4 ' h8 ) ( see t able 4- 2 ) .? ? i n chap t er 4, section 4 - 2 r e placed the test p a ttern figu r e and upda t ed t able 4-2 ? i n chap t er 4, ad d ed the follo w ing sente n ce t o 4.3.2.3 y a v g ?auto mo d e only suppo r t s n on-scaling an d non-subsampling image.? ? i n chap t er 4, modified figure 4 - 4 ?valid pixel size ( f or vga , hw = 640, vts = 48 0 ) ? change d to ? v alid pixel size ( fo r vga, hw = 640, v h = 480 ) ? ? i n chap t er 4, modified t able 4- 5 title fr o m ?aec/agc algorithims? chan g ed to ? y a v g window r egiste r s? ? i n chap t er 4, up d ated section 4.4. 1 . 2 banding mode on with aec; f r om ? t he band ste p s fo r 50hz an d 60hz light sources ca n be s e t in r egiste r s 0x49~0x4a.when auto b andin g is on, i f the next integ r ation tim e is less than the minimum band s t ep, ban d ing will automa t ically tu r n of f . it will tu r n on a g ain w hen the next inte g r ation time becomes la r ger than the minimum band. if auto b a ndin g is disable d , the minimum integ r atio n time is one minimal band. au t o banding can be set in registe r 0x13[5]. ? changed to ? t he ba n d ste p s f o r 50hz and 6 0 hz light sources can b e set in r egiste r s 0x50~0x52. when auto ba n ding is o n , if t h e next inte g r ation time i s less than th e minimum band step, b andin g will aut o m atically turn of f . it w i ll tu r n on again when the next int e gration time becomes la r ger than the minimum band. if auto banding is disable d , t h e minim u m i n tegration time is one mi n i mal band. auto ba n ding can b e set in r e gister 0 x 13[ 4 ].? ? i n chapte r 4 , up d ated section 4 . 4.1.4 v aec f r om ?t h e OV7740 suppor t s long integ r ation t i me such as 1 frame, 2 frames, 3 frames and 7 fram e s . t h is is achieved b y slowi n g down origin a l f r ame r a te an d wai t ing fo r expos u r e. v aec ceiling can be set i n regist e r 0x03[7:5]. v aec can be d i sabled by setting register 0x0e[3] to 0 . ? changed to: ? t he OV7740 suppo r t s long integ r ati o n time such a s 1 fram e , 2 frames, 3 f r ames and 7 f r ames. t h is is achieved by slowing do w n o r iginal fr a m e rat e and waiting for e x posu r e. v aec ceiling can be set in register 0x15[6:4]. v a e c can b e d i sabled by s e tting r egiste r 0x15[7] to 0.? ? i n chap t er 4, up d ated t able 4 - 6 title fr o m ?ag c registers? changed t o ? aec and b andin g filter r egiste r ? free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 ? i n cha p ter 4, u p dated t able 4 - 6 from: change d to: fun c tion r e gister d e scr i pt i o n laec on/o f f 0 x 13[ 3 ] laec on/of f select 0: off 1: on b a nding on/o f f 0 x 1 3 [ 5] banding on/off 0: off 1: on v aec on/off ( add fr a m e ) 0 x 1 5 [ 7] v aec on/of f select 0: off 1: on a u to banding 0 x 13[ 4 ] auto b a ndin g select 0: off 1: on v aec cei l ing ( m ax integ r atio n time ) 0 x 15[ 6 : 4] v aec ce i ling 001: 1 f r ame 010: 2 f r ames 0 1 1: 3 f r ames 1xx: 7 f r ames max_band 0 x 20[ 5 : 0] max band step fo r in t e rms of ro w exp o su r e b a nding step 0 x 50~0x52 0x52[7:6]=bd60st[9:8]; 0x51[ 7 : 0] = bd60st[7:0] 0x52[5:4]=bd50st[9:8]; 0x50[ 7 : 0] = bd50st[7:0] fun c tion r e gister d e scr i pt i o n laec on/o f f 0 x 13[ 3 ] laec on/of f select 0: off 1: on b a nding on/o f f 0 x 13[ 5 ] banding on/off 0: off 1: on v aec on/off ( add fr a m e ) 0 x 1 5 [ 7] v aec on/of f select 0: off 1: on a u to banding 0 x 13[ 4 ] auto b andin g select 0: off 1: on v aec cei l ing ( m ax integ r ation time ) 0 x 15[ 6 : 4] v aec ce i ling 001: 1 f r ame 010: 2 f r ames 0 1 1: 3 f r ames 1xx: 7 f r ames free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies re v - 3 ? i n chap t er 4, up d ated t able 4 - 8 digi t a l g a in cont r o l fu n c tions description fr o m : changed to: ? i n chap t er 5, up d ated t able 5 - 1 dsp regis t ers address 0x 8 3 desc r iption f r om changed to: ? i n chap t er 5, deleted secti o n 5.3 - s2p ? i n chap t er 5, section 5 . 7 auto white balance ( a wb ) ; r e moved from the s e ction desc r i p tion ? t he mod u le judges wheth e r the color tempe r atur e is da y , a or c w f . a w b r/g/b gain a r e decid e d by w h ite pixel g/b and g/r value of cur r ent colo r temper a t ure. a w b r/g/b gain also de p ends p r evious awb r / g/b gain.? ba n ding step 0 x 50~0x52 0x52[7:6]=bd60st[9:8]; 0 x 51[ 7 : 0] = bd60st[7:0] 0x52[5:4]=bd50st[9:8]; 0 x 50[ 7 : 0] = bd50st[7:0] maximum banding step 0 x 21 bit [ 7:4]: f o r 50 hz bit [ 3:0]: f o r 60 hz functi o n r e gister d e scri p t i o n dgain 0 x15[1 : 0] t a r g e t 00: reserved 1 1 : da t a*4 - t a rg e t * 3 functi o n register description dgain 0 x 1 5[1:0] 00: 1x d i gi t a l gain 01 or 1 0 : 2x d i gi t a l gain 1 1 : 4 x d i gi t a l gain ad d ress reg i st e r n a me defa u lt value r/w description 0x83 dsp c t rl03 1'b0 r w b i t[5]: v i deo 0: disable video o f f 1: enable video o f f ad d ress reg i ster name d e f a u l t value r/w d e scr i p tion 0x83 dsp ct r l03 1'b0 r w bit[5]: v i deo switch 0: vid e o s t a r t 1: vid e o stop functi o n r e gister d e scri p t i o n free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 ? i n ch a p ter 5 , section 5.8 - white black p i xel can c ellation; r e moved fr o m t he sec t ion d e scription ? t he n e w w b c al g o rithm us e some modes t o select if the v e rtical line of b ad pixels should be r e moved o r enable the mod u le r e mov e the consecutiv e bad pixels in same o r di f f e r ent channel.? ? i n cha p ter 5, sectio n 5.9 - c i p ; added to the sec t ion desc r iption ? s e tting t h e regis t er 0xcc bit[6:5] to 0 will enable auto mode . ? ? i n cha p ter 5, sectio n 5.12 - scale_ h ; removed f r om the section descripti o n ? wh e t her i t s e n able - register is 1 or not.? ? i n cha p ter 5, d e leted secti o n 5.17 - fifo ? i n cha p ter 6, u p dated section 6.1 . 2 - h r e f mode f r om ?href m ode i s the d e fau l t m ode of the d v p ( se e f i gure 6- 1 ) . each dvp_vsync ind i cates the s t a r ting o f a new f r ame. t h e ov77 4 0 sup p or t s thr e e typ e s of d v p _ v syn c signals ( v sync _ old, vsync_ne w , an d vsy n c3 ) as sho w n i n figure 6 - 2 ) . dvp_vsync, dvp_h r e f , and dvp_pclk ca n b e reversed usin g the register settings. ? change d to ?href m ode i s the d e fau l t m ode of the d v p . each dvp_vsync indicates the s t art i n g of a new f r ame. ? i n cha p ter 6, d e leted f i gu r e 6-1 d v p t i ming, figure 6 - 2 vsync timin g diag r am and section 6.1.3 h s y n c mode v e r s ion 1.2 07.1 8 .2008 ? on the cover p age, changed the lens size from 1/13" changed t o 1/5" ? unde r the or d e ring i n formation, changed t h e orde r numbe r from OV7740- c s p chan g ed to ov07740 - a32a ? unde r key specific a t ions, adde d p a ckag e dimensions : 4185m x 4 345m ? i n cha p ter 4, t able 4-7 bl c co n t rol functions; r epla c ed th e registe r values of r o f fset, b o f fset, g r o f fset and gb o f fset from c ? unde r ch a p ter 7, chang e d from r egiste r 0x1 3 b i t[4]: simple histog r am ch a nged to r egiste r 0x13 bit[4]: enable aec below ban d ing value r o f fset 0 x 6a[3:2 ] , 0x6 d [7:0] b lc o f fset for r ch a nnel b o f fset 0 x 6a[1:0 ] , 0x6e[7 : 0 ] b lc o f fset for b chann e l gr o f fset 0 x 6a[7:6 ] , 0x6b[7 : 0 ] b lc o f fset for g r cha n nel gb o f fset 0 x 6a[5:4 ] , 0x6 c [7:0] b lc o f fset for gb channel gr o f fset 0x6 e [ 7 :6], 0x6a[7:0] b lc o f fset for gr chann e l gb o f fset 0x6 e [ 5 :4], 0x6b[7:0] b lc o f fset for gb channel r o f fset 0x6 e [ 3 :2], 0x6c[7:0] b lc o f fset for r chan n el b o f fset 0x6 e [ 1 :0], 0x6d[7:0] b lc o f fset for b channel free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies re v - 5 ? unde r chapt e r 7, c h anged from r egiste r 0x16 r e se r v e d chan g ed to 0x1 6 bit[7:6]: r e se r v ed , bit[5]: sensor ve r t ical output size 1lsb, bit[4:3]: sensor h o rizon t al out p u t size 2lsb, bit[2 ] : senso r vertical o u tput s t art point 1lsb, bit[1]: sensor h o rizon t a l out p u t s t art point 2lsb ? unde r cha p ter 7, change d regist e r ( 1 7 , 18, 19 ) from changed to: ? unde r cha p ter 7, u p dated re g i ster ( 0 x 3 1, 0x 3 2 ) f r om: changed to: ? unde r cha p ter 7, a d ded register 0x34 sensor h o rizo n t al outp u t s t a r t po i n t ms b s ( l s b s in reg16 bit[1: 0 ] ) sensor h o rizo n t al outp u t siz e ms b s ( l s b s in reg16 bit[4: 3 ] ) sensor v e r t ical outp u t s t a r t p o i n t ms b s ( l s b s in reg16 bit[2] ) sensor h o rizo n t al outp u t s t art poi n t 8 msbs ( ls b s in reg16 bit[ 1 :0] ) sensor h o rizo n t al outp u t siz e 8 msbs ( ls b s in reg16 bit[ 4 :3] ) sensor v e rtical outp u t s t art poi n t 8 msbs ( ls b s in reg16 bit[ 2 ] ) 0x31 0xa0 r w dsp output t o t a l column numbe r in one f r ame 0x32 0xf0 r w dsp output t o t a l line numbe r in one f r a m e 0x31 houtsi z e 0xa0 r w dsp h o u tput size 8msb h o u tput size = {h o u t s ize [7:0] ( 0x3 1 ) , reg 34 [2:1] ( 0x34 ) } 0x32 vo u t size 0x f 0 r w dsp v outpu t siz e 8msb h o u tput size = {h o u t s ize [7:0] ( 0x3 2 ) , reg 34 [0] ( 0 x34 ) } 0x34 reg34 0 x00 r w bit [ 7:3]: r eserved bit [ 2]: d sp h ou t put size 2 lsb bit [ 0]: d sp v output size 2 lsb free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 ? unde r ch a p ter 7, u p dated the f o llowing from: 0x84 sub address: 0x3 8 [3:0]=4? h 2 a w b _ o f f _ m a n 0 x 0 0 r w a w b_o f f_man m a nual o f fset fo r a w b 0x84 sub address: 0x3 8 [3:0]=4? h 3 gm a _ o f f _ m a n 0 x00 r w g m a_o f f_man m a nual o f fset fo r lenc 0x84 sub address: 0x3 8 [3:0]=4? h 4 cmx_ o ff_ m a n 0 x00 r w cmx_o f f_man m a nual o f fset fo r lenc 0x84 sub address: 0x3 8 [3:0]=4? h 5 is p _ ro r e g _addr 0x00 r isp_ro r eg_add r ess r ead-o n ly registers' ad d ress 0x84 sub address: 0x3 8 [3:0]=4? h 6 pre_ctrl0 0 x 0 0 r w bit[7:5]: r e serv e d bit[4]: b a r_move w h en it is s e t, the colo r bar i s mov i ng color ba r . bit[3]: r e serv e d bit[2]: rbl u e_inv w h en it is s e t, the r b lue signal w i ll b e inve r s ed bit[1]: b a r_en 0: dsp pre outp u t normal da t a 1: dsp pre outp u t color bar bit[0]: sht_neg 0: latch da t a at rising clock edge 1: latch da t a at fal l ing c l o c k edge 0x84 sub address: 0x3 8 [3:0]=4? h 7 pre_ctrl1 0 x 0 0 r w bit[7:6]: r e serv e d bit[5:4]: b a r_style s t yl e of the outpu t color bar bit[3:0]: b a r_step s t ep o f the output color bar free datasheet http:///
07.29.2008 prelimi n ary specification p rop r ietary to omnivisi o n t e c h nol o gies re v - 7 changed to: 0x84 sub a ddress : 0x3 8 [3:0]=4?h3 a w b o f f m a n 0 x 0 0 r w a w b_o f f_man ma n ual o f fset for a w b 0x84 sub a ddress : 0x3 8 [3:0]=4?h4 gma o f f man 0 x 0 0 r w gm a _o f f _ man ma n ual o f fset for gma 0x84 sub a ddress : 0x3 8 [3:0]=4?h5 cmx of f man 0 x00 r w cmx_o f f_man ma n ual o f fset for cmx 0x84 sub a ddress : 0x3 8 [3:0]=4?h6 roreg addr 0 x 00 r isp_ro r eg_add r ess r ead-only registers' add r ess 0x84 sub a ddress : 0x3 8 [3:0]=4?h7 pre ctrl0 0 x 0 0 r w bit[7:5]: r e served bit[4]: ba r _move w h en it is set , the c o lor ba r is moving colo r ba r . bit[3]: r e served bit[2]: rblu e _ inv w h en it is set, the rblue signal w i ll b e inversed bit[1]: ba r _en 0: dsp pre outp u t no r mal d a t a 1: dsp pre outp u t colo r bar bit[0]: sht_neg 0: latch da t a at rising clock edge 1: latch da t a at falling clock edge 0x84 sub a ddress : 0x3 8 [3:0]=4?h8 pre ctrl1 0 x 0 0 r w bit[7:6]: r e served bit[5:4]: bar_style s t yle of the output color bar bit[3:0]: bar_step s t ep o f the output color bar free datasheet http:///
color cmo s v g a ( 640 x 480 ) camerachip ? s e nsor with omnipixel3-hs? technology OV7740 proprietary t o omnivision technologies p r elimi n ary specification v ersio n 1.21 ? i n cha p ter 9, u p dated p a ckage dimension fo r p a ck a ge height and p a ckage body thickness from: change d to: ? unde r ch a p ter 8, u p dated t able 8 - 1 with a new a b solute maximum ratings t able ? i n cha p ter 10, u pdated the dimensi o ns o n the senso r ar r a y center v e r s ion 1.21 07.2 9 .2008 ? u p a te d figu r e 9- 1 wit h new diagram a ddressing th e cover g l ass thickness p a ckage height c 825 885 9 4 5 m p a ckage bo d y thickness c 2 680 725 7 7 0 m p a ckage height c 720 780 840 m p a ckage body thickness c 2 575 620 665 m free datasheet http:///
free datasheet http:///
the clear advantage? website: www.ovt.com omnivision technologies, inc. united states 4275 burton drive santa clara, ca 95054 tel: + 1 408 567 3000 fax: + 1 408 567 3001 email: salesamerican@ovt.com united kingdom hampshire + 44 1256 744 610 finland mouhij?rvi + 358 3 341 1898 germany munich +49 89 63 81 99 88 china beijing + 86 10 6580 1690 shanghai + 86 21 6105 5100 shenzhen + 86 755 8384 9733 hong kong + 852 2403 4011 japan tokyo + 81 3 5765 6321 korea seoul + 82 2 3478 2812 singapore + 65 6562 8250 taiwan taipei + 886 2 2657 9800 - ext.#100 free datasheet http:///


▲Up To Search▲   

 
Price & Availability of OV7740

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X